From 8a055d66f43592c257cece2eb8cc021808062917 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 29 Nov 2011 01:11:08 -0600 Subject: Initial TQt conversion --- examples3/tut3.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'examples3/tut3.py') diff --git a/examples3/tut3.py b/examples3/tut3.py index 9b73954..4f69461 100755 --- a/examples3/tut3.py +++ b/examples3/tut3.py @@ -1,20 +1,20 @@ #!/usr/bin/env python -# Qt tutorial 3. +# TQt tutorial 3. import sys import qt -a = qt.QApplication(sys.argv) +a = qt.TQApplication(sys.argv) -box = qt.QVBox() +box = qt.TQVBox() box.resize(200, 120) -quit = qt.QPushButton("Quit", box) -quit.setFont(qt.QFont("Times", 18, qt.QFont.Bold)) +quit = qt.TQPushButton("Quit", box) +quit.setFont(qt.TQFont("Times", 18, qt.TQFont.Bold)) -qt.QObject.connect(quit, qt.SIGNAL("clicked()"), a, qt.SLOT("quit()")) +qt.TQObject.connect(quit, qt.SIGNAL("clicked()"), a, qt.SLOT("quit()")) a.setMainWidget(box) box.show() -- cgit v1.2.3