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