diff options
Diffstat (limited to 'examples3/tut9.py')
-rwxr-xr-x | examples3/tut9.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples3/tut9.py b/examples3/tut9.py index 6c1880a..024f921 100755 --- a/examples3/tut9.py +++ b/examples3/tut9.py @@ -3,7 +3,7 @@ # TQt tutorial 9. import sys -import qt +from python_tqt import qt class LCDRange(qt.TQVBox): @@ -73,7 +73,7 @@ class MyWidget(qt.TQWidget): quit = qt.TQPushButton("&Quit", self, "quit") quit.setFont(qt.TQFont("Times", 18, qt.TQFont.Bold)) - self.connect(quit, qt.SIGNAL("clicked()"), qt.qApp, qt.SLOT("quit()")) + self.connect(quit, qt.SIGNAL("clicked()"), qt.tqApp, qt.SLOT("quit()")) self.angle = LCDRange(self, "angle") self.angle.setRange(5, 70) |