diff options
Diffstat (limited to 'examples3/tut8.py')
-rwxr-xr-x | examples3/tut8.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples3/tut8.py b/examples3/tut8.py index 2bbc7b9..b884093 100755 --- a/examples3/tut8.py +++ b/examples3/tut8.py @@ -3,7 +3,7 @@ # TQt tutorial 8. import sys -import qt +from python_tqt import qt class LCDRange(qt.TQVBox): @@ -67,7 +67,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) |