summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/examples/tutorials/t6.cs
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 11:29:06 +0900
committerMichele Calgaro <[email protected]>2024-01-13 11:45:40 +0900
commitfaf33629bb6562a6f43f930afafe4b22e9cdb60b (patch)
tree8fc6dc6d999a3a039ace28db2fe5b96712fa18e0 /qtsharp/src/examples/tutorials/t6.cs
parent0ff7d227c65fecb4fb7482ecd679acb594ef5cf7 (diff)
downloadtdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.tar.gz
tdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'qtsharp/src/examples/tutorials/t6.cs')
-rw-r--r--qtsharp/src/examples/tutorials/t6.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtsharp/src/examples/tutorials/t6.cs b/qtsharp/src/examples/tutorials/t6.cs
index 910d13d1..90d94b5b 100644
--- a/qtsharp/src/examples/tutorials/t6.cs
+++ b/qtsharp/src/examples/tutorials/t6.cs
@@ -15,7 +15,7 @@ public class LCDRange : TQVBox {
slider.SetRange (0, 99);
slider.SetValue (0);
- Connect ( slider, TQT_SIGNAL ("valueChanged(int)"), lcd, TQT_SLOT ("Display(int)") );
+ Connect ( slider, TQ_SIGNAL ("valueChanged(int)"), lcd, TQ_SLOT ("Display(int)") );
}
public LCDRange (TQWidget parent) : this (parent, "") {}
@@ -31,7 +31,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);