diff options
Diffstat (limited to 'examples/tut2.py')
-rwxr-xr-x | examples/tut2.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/tut2.py b/examples/tut2.py index e74101e..0f34b16 100755 --- a/examples/tut2.py +++ b/examples/tut2.py @@ -3,16 +3,16 @@ # TQt tutorial 2. import sys -from PyTQt import qt +from PyTQt import tqt -a = qt.TQApplication(sys.argv) +a = tqt.TQApplication(sys.argv) -quit = qt.TQPushButton("Quit", None) +quit = tqt.TQPushButton("Quit", None) quit.resize(75, 30) -quit.setFont(qt.TQFont("Times", 18, qt.TQFont.Bold)) +quit.setFont(tqt.TQFont("Times", 18, tqt.TQFont.Bold)) -qt.TQObject.connect(quit, qt.SIGNAL("clicked()"), a, qt.SLOT("quit()")) +qt.TQObject.connect(quit, tqt.SIGNAL("clicked()"), a, tqt.SLOT("quit()")) a.setMainWidget(quit) quit.show() |