summaryrefslogtreecommitdiffstats
path: root/examples/SQL
diff options
context:
space:
mode:
Diffstat (limited to 'examples/SQL')
-rw-r--r--examples/SQL/README4
-rw-r--r--examples/SQL/connect.ui.h2
-rwxr-xr-xexamples/SQL/dbconnect.py6
-rw-r--r--examples/SQL/frmconnect.py4
-rwxr-xr-xexamples/SQL/runform1.py2
-rwxr-xr-xexamples/SQL/runform2.py2
-rwxr-xr-xexamples/SQL/runsqlex.py4
-rwxr-xr-xexamples/SQL/sqlcustom1.py4
-rwxr-xr-xexamples/SQL/sqlsubclass5.py4
-rwxr-xr-xexamples/SQL/sqltable4.py4
10 files changed, 18 insertions, 18 deletions
diff --git a/examples/SQL/README b/examples/SQL/README
index 862e608..823937f 100644
--- a/examples/SQL/README
+++ b/examples/SQL/README
@@ -2,11 +2,11 @@ This directory contains some translated sql examples from TQt 3.x.
runform1.py, form1.ui:
- A simple designer generated TQDataTable. Run "pyuic form1.ui -o form1.py".
+ A simple designer generated TQDataTable. Run "pytquic form1.ui -o form1.py".
runform2.py, form2.ui:
- A simple designer generated TQDataBrowser. Run "pyuic form2.ui -o form2.py".
+ A simple designer generated TQDataBrowser. Run "pytquic form2.ui -o form2.py".
sqlcustom1.py:
diff --git a/examples/SQL/connect.ui.h b/examples/SQL/connect.ui.h
index 1e9f544..fd37494 100644
--- a/examples/SQL/connect.ui.h
+++ b/examples/SQL/connect.ui.h
@@ -9,7 +9,7 @@
void ConnectDialog::init()
{
-from PyTQt.qtsql import TQSqlDatabase
+from PyTQt.tqtsql import TQSqlDatabase
#qDebug("ConnectDialog init")
self.comboDriver.clear()
self.comboDriver.insertStringList(TQSqlDatabase.drivers())
diff --git a/examples/SQL/dbconnect.py b/examples/SQL/dbconnect.py
index 2fb2b08..75887e6 100755
--- a/examples/SQL/dbconnect.py
+++ b/examples/SQL/dbconnect.py
@@ -1,8 +1,8 @@
#!/usr/bin/env python
import sys
-from PyTQt.qt import *
-from PyTQt.qtsql import *
+from PyTQt.tqt import *
+from PyTQt.tqtsql import *
from frmconnect import frmConnect
from dbpar import *
@@ -12,7 +12,7 @@ FALSE = 0
def createConnection():
driver = DB_DRIVER
- # all qt examples use TQSqlDatabase::addDatabase, but
+ # all tqt examples use TQSqlDatabase::addDatabase, but
# this never returns NULL in my experience
drivers = list(map(str, TQSqlDatabase.drivers()))
if driver in drivers:
diff --git a/examples/SQL/frmconnect.py b/examples/SQL/frmconnect.py
index 0fec45f..430f5b2 100644
--- a/examples/SQL/frmconnect.py
+++ b/examples/SQL/frmconnect.py
@@ -1,12 +1,12 @@
# Form implementation generated from reading ui file 'frmconnect.ui'
#
# Created: Sam Jul 6 12:47:10 2002
-# by: The PyTQt User Interface Compiler (pyuic)
+# by: The PyTQt User Interface Compiler (pytquic)
#
# WARNING! All changes made in this file will be lost!
-from PyTQt.qt import *
+from PyTQt.tqt import *
class frmConnect(TQDialog):
diff --git a/examples/SQL/runform1.py b/examples/SQL/runform1.py
index 0724547..8ef4908 100755
--- a/examples/SQL/runform1.py
+++ b/examples/SQL/runform1.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import sys
-from PyTQt.qt import *
+from PyTQt.tqt import *
from form1 import Form1
from dbconnect import createConnection
diff --git a/examples/SQL/runform2.py b/examples/SQL/runform2.py
index 5644475..112d04f 100755
--- a/examples/SQL/runform2.py
+++ b/examples/SQL/runform2.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import sys
-from PyTQt.qt import *
+from PyTQt.tqt import *
from form2 import Form2
from dbconnect import createConnection
diff --git a/examples/SQL/runsqlex.py b/examples/SQL/runsqlex.py
index ccdec9d..4f35e52 100755
--- a/examples/SQL/runsqlex.py
+++ b/examples/SQL/runsqlex.py
@@ -1,8 +1,8 @@
#!/usr/bin/env python
import sys
-from PyTQt.qt import *
-from PyTQt.qtsql import *
+from PyTQt.tqt import *
+from PyTQt.tqtsql import *
from sqlex import SqlEx
from connect import ConnectDialog
diff --git a/examples/SQL/sqlcustom1.py b/examples/SQL/sqlcustom1.py
index 1ea3471..0c37911 100755
--- a/examples/SQL/sqlcustom1.py
+++ b/examples/SQL/sqlcustom1.py
@@ -11,8 +11,8 @@
#*****************************************************************************/
import sys
-from PyTQt.qt import *
-from PyTQt.qtsql import *
+from PyTQt.tqt import *
+from PyTQt.tqtsql import *
from dbconnect import createConnection
diff --git a/examples/SQL/sqlsubclass5.py b/examples/SQL/sqlsubclass5.py
index a288099..d627a6c 100755
--- a/examples/SQL/sqlsubclass5.py
+++ b/examples/SQL/sqlsubclass5.py
@@ -11,8 +11,8 @@
#*****************************************************************************/
import sys
-from PyTQt.qt import *
-from PyTQt.qtsql import *
+from PyTQt.tqt import *
+from PyTQt.tqtsql import *
from dbconnect import createConnection
diff --git a/examples/SQL/sqltable4.py b/examples/SQL/sqltable4.py
index 75eddad..13bbe3f 100755
--- a/examples/SQL/sqltable4.py
+++ b/examples/SQL/sqltable4.py
@@ -11,8 +11,8 @@
#*****************************************************************************/
import sys
-from PyTQt.qt import *
-from PyTQt.qtsql import *
+from PyTQt.tqt import *
+from PyTQt.tqtsql import *
from dbconnect import createConnection