diff options
Diffstat (limited to 'qtjava/javalib/tutorial/t7/Tut7.java')
-rw-r--r-- | qtjava/javalib/tutorial/t7/Tut7.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qtjava/javalib/tutorial/t7/Tut7.java b/qtjava/javalib/tutorial/t7/Tut7.java index b1bd1e87..4e63fdea 100644 --- a/qtjava/javalib/tutorial/t7/Tut7.java +++ b/qtjava/javalib/tutorial/t7/Tut7.java @@ -5,7 +5,7 @@ public class Tut7 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()")); TQGrid grid = new TQGrid(4, this, null, 0); @@ -14,8 +14,8 @@ public class Tut7 extends TQVBox { for(int c = 0; c < 4; c++) { LCDRange lr = new LCDRange(grid); if (previous!=null) - connect(lr, SIGNAL("valueChanged(int)"), - previous, SLOT("setValue(int)")); + connect(lr, TQ_SIGNAL("valueChanged(int)"), + previous, TQ_SLOT("setValue(int)")); previous = lr; } } |