summaryrefslogtreecommitdiffstats
path: root/PerlTQt/tutorials/t13/CannonField.pm
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-10 10:12:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-10 10:12:24 +0900
commit301b5380792b7a368488aa485d3bdb3df81e0808 (patch)
tree02f29183ad7d160b896f76ba08c916e3c97f6226 /PerlTQt/tutorials/t13/CannonField.pm
parent6c02673b584fd4fbd4761057a5b466bca26036bd (diff)
downloadlibtqt-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/tutorials/t13/CannonField.pm')
-rw-r--r--PerlTQt/tutorials/t13/CannonField.pm2
1 files changed, 1 insertions, 1 deletions
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);