summaryrefslogtreecommitdiffstats
path: root/examples3/SQL/runform1.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples3/SQL/runform1.py')
-rwxr-xr-xexamples3/SQL/runform1.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples3/SQL/runform1.py b/examples3/SQL/runform1.py
index d5760ce..b2b9951 100755
--- a/examples3/SQL/runform1.py
+++ b/examples3/SQL/runform1.py
@@ -11,9 +11,9 @@ class mainWindow(Form1):
Form1.__init__(self,parent,name,fl)
if __name__ == "__main__":
- a = QApplication(sys.argv)
+ a = TQApplication(sys.argv)
if createConnection():
- QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()"))
+ TQObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()"))
w = mainWindow()
a.setMainWidget(w)
w.show()