summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/tutorial/t8/Tut8.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/tutorial/t8/Tut8.java')
-rw-r--r--qtjava/javalib/tutorial/t8/Tut8.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/qtjava/javalib/tutorial/t8/Tut8.java b/qtjava/javalib/tutorial/t8/Tut8.java
index 4159c8e0..4bab948f 100644
--- a/qtjava/javalib/tutorial/t8/Tut8.java
+++ b/qtjava/javalib/tutorial/t8/Tut8.java
@@ -5,17 +5,17 @@ public class Tut8 extends TQWidget {
TQPushButton quit = new TQPushButton("Quit", this, "quit");
quit.setFont(new TQFont("Times", 18, TQFont.Bold, false));
- connect(quit, SIGNAL("clicked()"), tqApp(), SLOT("quit()"));
+ connect(quit, TQ_SIGNAL("clicked()"), tqApp(), TQ_SLOT("quit()"));
LCDRange angle = new LCDRange(this, "angle");
angle.setRange(5, 70);
CannonField cannonField = new CannonField(this, "cannonField");
- connect(angle, SIGNAL("valueChanged(int)"),
- cannonField, SLOT("setAngle(int)"));
- connect(cannonField, SIGNAL("angleChanged(int)"),
- angle, SLOT("setValue(int)"));
+ connect(angle, TQ_SIGNAL("valueChanged(int)"),
+ cannonField, TQ_SLOT("setAngle(int)"));
+ connect(cannonField, TQ_SIGNAL("angleChanged(int)"),
+ angle, TQ_SLOT("setValue(int)"));
TQGridLayout grid = new TQGridLayout(this, 2, 2, 10, -1, null);
//2x2, 10 pixel border