summaryrefslogtreecommitdiffstats
path: root/examples/tut1.py
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2023-01-03 00:52:18 +0100
committerSlávek Banko <[email protected]>2023-01-20 02:10:39 +0100
commit16434e5519f6224e231bc5f7202f0e495eda7bb7 (patch)
treed0a3bc5f18eb65f89c1e6238dcf579e6c9cb80ad /examples/tut1.py
parent1c362264d328c8886d33061ab992750741f7933a (diff)
downloadpytqt-16434e5519f6224e231bc5f7202f0e495eda7bb7.tar.gz
pytqt-16434e5519f6224e231bc5f7202f0e495eda7bb7.zip
Do rename qt=>tqt on source files, directories and libraries.
Rename pyuic=>pytquic, pylupdate=>pytqlupdate. Do rename qt=>tqt on constants and variables. Do rename QT=>TQT on constants. Signed-off-by: Slávek Banko <[email protected]>
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)