summaryrefslogtreecommitdiffstats
path: root/examples/tut5.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tut5.py')
-rwxr-xr-xexamples/tut5.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tut5.py b/examples/tut5.py
index fe12295..c0b4a6b 100755
--- a/examples/tut5.py
+++ b/examples/tut5.py
@@ -13,7 +13,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()"))
lcd = tqt.TQLCDNumber(2, self, "lcd")
@@ -21,7 +21,7 @@ class MyWidget(tqt.TQVBox):
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)"))
a = tqt.TQApplication(sys.argv)