diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2023-01-03 00:52:18 +0100 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2023-01-20 02:10:39 +0100 |
| commit | 16434e5519f6224e231bc5f7202f0e495eda7bb7 (patch) | |
| tree | d0a3bc5f18eb65f89c1e6238dcf579e6c9cb80ad /examples/SQL/dbconnect.py | |
| parent | 1c362264d328c8886d33061ab992750741f7933a (diff) | |
| download | pytqt-16434e5519f6224e231bc5f7202f0e495eda7bb7.tar.gz pytqt-16434e5519f6224e231bc5f7202f0e495eda7bb7.zip | |
Do rename qt=>tqt on source files, directories and libraries.
Rename pyuic=>pytquic, pylupdate=>pytqlupdate.
Do rename qt=>tqt on constants and variables.
Do rename QT=>TQT on constants.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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: |
