summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/tutorial/t5/Tut5.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/tutorial/t5/Tut5.java')
-rw-r--r--qtjava/javalib/tutorial/t5/Tut5.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtjava/javalib/tutorial/t5/Tut5.java b/qtjava/javalib/tutorial/t5/Tut5.java
index 61e02748..74802681 100644
--- a/qtjava/javalib/tutorial/t5/Tut5.java
+++ b/qtjava/javalib/tutorial/t5/Tut5.java
@@ -5,7 +5,7 @@ public class Tut5 extends TQVBox {
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()"));
TQLCDNumber lcd = new TQLCDNumber(2, this, "lcd");
@@ -13,7 +13,7 @@ public class Tut5 extends TQVBox {
slider.setRange(0, 99);
slider.setValue(0);
- connect(slider, SIGNAL("valueChanged(int)"), lcd, SLOT("display(int)"));
+ connect(slider, TQ_SIGNAL("valueChanged(int)"), lcd, TQ_SLOT("display(int)"));
}
public static void main(String[] args) {