summaryrefslogtreecommitdiffstats
path: root/examples/tut9.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tut9.py')
-rwxr-xr-xexamples/tut9.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/tut9.py b/examples/tut9.py
index f95227f..bf62060 100755
--- a/examples/tut9.py
+++ b/examples/tut9.py
@@ -14,8 +14,8 @@ class LCDRange(tqt.TQVBox):
self.slider = tqt.TQSlider(tqt.TQt.Horizontal, self, "slider")
self.slider.setRange(0, 99)
self.slider.setValue(0)
- self.connect(self.slider, tqt.SIGNAL("valueChanged(int)"), lcd, tqt.SLOT("display(int)"))
- self.connect(self.slider, tqt.SIGNAL("valueChanged(int)"), self, tqt.PYSIGNAL("valueChanged(int)"))
+ self.connect(self.slider, tqt.TQ_SIGNAL("valueChanged(int)"), lcd, tqt.TQ_SLOT("display(int)"))
+ self.connect(self.slider, tqt.TQ_SIGNAL("valueChanged(int)"), self, tqt.PYSIGNAL("valueChanged(int)"))
self.setFocusProxy(self.slider)
@@ -73,7 +73,7 @@ class MyWidget(tqt.TQWidget):
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()"))
self.angle = LCDRange(self, "angle")
self.angle.setRange(5, 70)