summaryrefslogtreecommitdiffstats
path: root/examples/tut10.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tut10.py')
-rwxr-xr-xexamples/tut10.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/tut10.py b/examples/tut10.py
index e17e66d..3b7a627 100755
--- a/examples/tut10.py
+++ b/examples/tut10.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)
@@ -101,7 +101,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)