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/examples/aclock/AnalogClock.pm | |
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/examples/aclock/AnalogClock.pm')
-rw-r--r-- | PerlTQt/examples/aclock/AnalogClock.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PerlTQt/examples/aclock/AnalogClock.pm b/PerlTQt/examples/aclock/AnalogClock.pm index 0a52c44..c6471ad 100644 --- a/PerlTQt/examples/aclock/AnalogClock.pm +++ b/PerlTQt/examples/aclock/AnalogClock.pm @@ -18,7 +18,7 @@ sub NEW { shift->SUPER::NEW(@_); _time = TQt::Time::currentTime(); # get current time my $internalTimer = TQt::Timer(this); # create internal timer - this->connect($internalTimer, TQT_SIGNAL('timeout()'), TQT_SLOT('timeout()')); + this->connect($internalTimer, TQ_SIGNAL('timeout()'), TQ_SLOT('timeout()')); $internalTimer->start(5000); # emit signal every 5 seconds } |