summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/examples/tutorials/t7.cs
diff options
context:
space:
mode:
Diffstat (limited to 'qtsharp/src/examples/tutorials/t7.cs')
-rw-r--r--qtsharp/src/examples/tutorials/t7.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/qtsharp/src/examples/tutorials/t7.cs b/qtsharp/src/examples/tutorials/t7.cs
index 1372bf15..ecc9b244 100644
--- a/qtsharp/src/examples/tutorials/t7.cs
+++ b/qtsharp/src/examples/tutorials/t7.cs
@@ -21,8 +21,8 @@ public class LCDRange : TQVBox {
slider.SetRange (0, 99);
slider.SetValue (0);
- Connect ( slider, TQT_SIGNAL ("valueChanged(int)"), lcd, TQT_SLOT ("Display(int)") );
- Connect ( slider, TQT_SIGNAL ("valueChanged(int)"), TQT_SIGNAL ("valueChanged(int)"));
+ Connect ( slider, TQ_SIGNAL ("valueChanged(int)"), lcd, TQ_SLOT ("Display(int)") );
+ Connect ( slider, TQ_SIGNAL ("valueChanged(int)"), TQ_SIGNAL ("valueChanged(int)"));
}
public LCDRange (TQWidget parent) : this (parent, "") {}
@@ -43,7 +43,7 @@ public class MyWidget : TQVBox {
TQPushButton quit = new TQPushButton ("Quit", this, "quit");
quit.SetFont ( new TQFont ("Times", 18, TQFont.Weight.Bold) );
- Connect ( quit, TQT_SIGNAL ("clicked()"), tqApp, TQT_SLOT ("Quit()") );
+ Connect ( quit, TQ_SIGNAL ("clicked()"), tqApp, TQ_SLOT ("Quit()") );
TQGrid grid = new TQGrid (4, this);
@@ -53,8 +53,8 @@ public class MyWidget : TQVBox {
for ( int r = 0; r < 4; r++ ) {
LCDRange lr = new LCDRange (grid);
if (previous != null)
- Connect (lr, TQT_SIGNAL ("valueChanged(int)"),
- previous, TQT_SLOT ("SetValue(int)") );
+ Connect (lr, TQ_SIGNAL ("valueChanged(int)"),
+ previous, TQ_SLOT ("SetValue(int)") );
previous = lr;
}
}