From 301b5380792b7a368488aa485d3bdb3df81e0808 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 --- PerlTQt/tutorials/t13/CannonField.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'PerlTQt/tutorials/t13/CannonField.pm') diff --git a/PerlTQt/tutorials/t13/CannonField.pm b/PerlTQt/tutorials/t13/CannonField.pm index ec220bc..4d42016 100644 --- a/PerlTQt/tutorials/t13/CannonField.pm +++ b/PerlTQt/tutorials/t13/CannonField.pm @@ -40,7 +40,7 @@ sub NEW { f = 0; timerCount = 0; autoShootTimer = TQt::Timer(this, "movement handler"); - this->connect(autoShootTimer, TQT_SIGNAL('timeout()'), TQT_SLOT('moveShot()')); + this->connect(autoShootTimer, TQ_SIGNAL('timeout()'), TQ_SLOT('moveShot()')); shoot_ang = 0; shoot_f = 0; target = TQt::Point(0, 0); -- cgit v1.2.3