diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-10 10:12:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-10 10:12:24 +0900 |
commit | 301b5380792b7a368488aa485d3bdb3df81e0808 (patch) | |
tree | 02f29183ad7d160b896f76ba08c916e3c97f6226 /PerlTQt/t/e_sigslot_inherit.t | |
parent | 6c02673b584fd4fbd4761057a5b466bca26036bd (diff) | |
download | libtqt-perl-301b5380792b7a368488aa485d3bdb3df81e0808.tar.gz libtqt-perl-301b5380792b7a368488aa485d3bdb3df81e0808.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'PerlTQt/t/e_sigslot_inherit.t')
-rw-r--r-- | PerlTQt/t/e_sigslot_inherit.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/PerlTQt/t/e_sigslot_inherit.t b/PerlTQt/t/e_sigslot_inherit.t index 338a405..f99b1bf 100644 --- a/PerlTQt/t/e_sigslot_inherit.t +++ b/PerlTQt/t/e_sigslot_inherit.t @@ -12,8 +12,8 @@ use TQt::signals sub NEW { shift->SUPER::NEW(@_); - this->connect(this, TQT_SIGNAL 'bar(int)', TQT_SLOT 'foo(int)'); - this->connect(this, TQT_SIGNAL 'aboutToQuit()', TQT_SLOT 'baz()'); + this->connect(this, TQ_SIGNAL 'bar(int)', TQ_SLOT 'foo(int)'); + this->connect(this, TQ_SIGNAL 'aboutToQuit()', TQ_SLOT 'baz()'); } sub foo @@ -67,6 +67,6 @@ use MySubApp; $a = 0; $a = MySubApp(\@ARGV); -TQt::Timer::singleShot( 300, TQt::app(), TQT_SLOT "quit()" ); +TQt::Timer::singleShot( 300, TQt::app(), TQ_SLOT "quit()" ); exit TQt::app()->exec; |