summaryrefslogtreecommitdiffstats
path: root/examples/tut6.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tut6.py')
-rwxr-xr-xexamples/tut6.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tut6.py b/examples/tut6.py
index 7c6c682..e7a57e3 100755
--- a/examples/tut6.py
+++ b/examples/tut6.py
@@ -14,7 +14,7 @@ class LCDRange(tqt.TQVBox):
slider = tqt.TQSlider(tqt.TQt.Horizontal, self, "slider")
slider.setRange(0, 99)
slider.setValue(0)
- self.connect(slider, tqt.SIGNAL("valueChanged(int)"), lcd, tqt.SLOT("display(int)"))
+ self.connect(slider, tqt.TQ_SIGNAL("valueChanged(int)"), lcd, tqt.TQ_SLOT("display(int)"))
class MyWidget(tqt.TQVBox):
@@ -24,7 +24,7 @@ class MyWidget(tqt.TQVBox):
quit = tqt.TQPushButton("Quit", self, "quit")
quit.setFont(tqt.TQFont("Times", 18, tqt.TQFont.Bold))
- self.connect(quit, tqt.SIGNAL("clicked()"), tqt.tqApp, tqt.SLOT("quit()"))
+ self.connect(quit, tqt.TQ_SIGNAL("clicked()"), tqt.tqApp, tqt.TQ_SLOT("quit()"))
grid = tqt.TQGrid(4, self)