diff options
Diffstat (limited to 'examples/SQL/dbconnect.py')
-rwxr-xr-x | examples/SQL/dbconnect.py | 6 |
1 files changed, 3 insertions, 3 deletions
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: |