summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/tutorial/t12/CannonField.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/tutorial/t12/CannonField.java')
-rw-r--r--qtjava/javalib/tutorial/t12/CannonField.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtjava/javalib/tutorial/t12/CannonField.java b/qtjava/javalib/tutorial/t12/CannonField.java
index d5c53ce7..b897b172 100644
--- a/qtjava/javalib/tutorial/t12/CannonField.java
+++ b/qtjava/javalib/tutorial/t12/CannonField.java
@@ -19,8 +19,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);