From 947bc2dba5274c3a87dd0f3dc29972b5a7fde80f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 10 Jan 2024 10:12:24 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 301b5380792b7a368488aa485d3bdb3df81e0808) --- PerlTQt/examples/aclock/AnalogClock.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'PerlTQt/examples/aclock') 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 } -- cgit v1.2.3