summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/tutorial/t14/CannonField.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/tutorial/t14/CannonField.java')
-rw-r--r--qtjava/javalib/tutorial/t14/CannonField.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtjava/javalib/tutorial/t14/CannonField.java b/qtjava/javalib/tutorial/t14/CannonField.java
index a38a71a3..e2a3037f 100644
--- a/qtjava/javalib/tutorial/t14/CannonField.java
+++ b/qtjava/javalib/tutorial/t14/CannonField.java
@@ -22,8 +22,8 @@ public class CannonField extends TQWidget {
f = 0;
timerCount = 0;
autoShootTimer = new TQTimer(this, "movement handler");
- connect(autoShootTimer, SIGNAL("timeout()"),
- this, SLOT("moveShot()"));
+ connect(autoShootTimer, TQ_SIGNAL("timeout()"),
+ this, TQ_SLOT("moveShot()"));
shoot_ang = 0;
shoot_f = 0;
target = new TQPoint(0, 0);