summaryrefslogtreecommitdiffstats
path: root/examples3/tut7.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples3/tut7.py')
-rwxr-xr-xexamples3/tut7.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples3/tut7.py b/examples3/tut7.py
index 20e5455..3c9deea 100755
--- a/examples3/tut7.py
+++ b/examples3/tut7.py
@@ -3,7 +3,7 @@
# TQt tutorial 7.
import sys
-import qt
+from python_tqt import qt
class LCDRange(qt.TQVBox):
@@ -31,7 +31,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()"))
grid = qt.TQGrid(4, self)