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 --- examples2/tut3.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'examples2/tut3.py') diff --git a/examples2/tut3.py b/examples2/tut3.py index 2cc3576..5284840 100755 --- a/examples2/tut3.py +++ b/examples2/tut3.py @@ -1,19 +1,19 @@ #!/usr/bin/env python -# Qt tutorial 3. +# TQt tutorial 3. import sys from qt import * -a = QApplication(sys.argv) +a = TQApplication(sys.argv) -box = QVBox() +box = TQVBox() box.resize(200,120) -quit = QPushButton("Quit",box) -quit.setFont(QFont("Times",18,QFont.Bold)) +quit = TQPushButton("Quit",box) +quit.setFont(TQFont("Times",18,TQFont.Bold)) -QObject.connect(quit,SIGNAL("clicked()"),a,SLOT("quit()")) +TQObject.connect(quit,SIGNAL("clicked()"),a,SLOT("quit()")) a.setMainWidget(box) box.show() -- cgit v1.2.3