summaryrefslogtreecommitdiffstats
path: root/examples3/SQL/runform2.py
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /examples3/SQL/runform2.py
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'examples3/SQL/runform2.py')
-rwxr-xr-xexamples3/SQL/runform2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples3/SQL/runform2.py b/examples3/SQL/runform2.py
index ba0ca4a..485eed3 100755
--- a/examples3/SQL/runform2.py
+++ b/examples3/SQL/runform2.py
@@ -11,9 +11,9 @@ class mainWindow(Form2):
Form2.__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()