summaryrefslogtreecommitdiffstats
path: root/examples/tut1.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tut1.py')
-rwxr-xr-xexamples/tut1.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/tut1.py b/examples/tut1.py
index c38a1ff..0f3d9a1 100755
--- a/examples/tut1.py
+++ b/examples/tut1.py
@@ -3,12 +3,12 @@
# TQt tutorial 1.
import sys
-from PyTQt import qt
+from PyTQt import tqt
-a = qt.TQApplication(sys.argv)
+a = tqt.TQApplication(sys.argv)
-hello = qt.TQPushButton("Hello world!", None)
+hello = tqt.TQPushButton("Hello world!", None)
hello.resize(100, 30)
a.setMainWidget(hello)