summaryrefslogtreecommitdiffstats
path: root/examples3/tut5.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples3/tut5.py')
-rwxr-xr-xexamples3/tut5.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples3/tut5.py b/examples3/tut5.py
index f084cdb..19cb6f7 100755
--- a/examples3/tut5.py
+++ b/examples3/tut5.py
@@ -3,7 +3,7 @@
# TQt tutorial 5.
import sys
-import qt
+from python_tqt import qt
class MyWidget(qt.TQVBox):
@@ -13,7 +13,7 @@ class MyWidget(qt.TQVBox):
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()"))
lcd = qt.TQLCDNumber(2, self, "lcd")