diff options
author | Slávek Banko <[email protected]> | 2016-09-25 11:01:09 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-09-25 11:01:09 +0200 |
commit | e790d08307644b6718b2a547c21370b82aa4f376 (patch) | |
tree | eb4cc574e4f5a98bcc1f24ebab980cc38e3354e0 /examples3/SQL | |
parent | 0b2f1c4760ceb98b6e3213999a1e4d48d24e91e8 (diff) | |
download | pytqt-e790d08307644b6718b2a547c21370b82aa4f376.tar.gz pytqt-e790d08307644b6718b2a547c21370b82aa4f376.zip |
Fix examples to properly import python_tqt module
This resolves bug 2693
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'examples3/SQL')
-rwxr-xr-x | examples3/SQL/dbconnect.py | 4 | ||||
-rw-r--r-- | examples3/SQL/frmconnect.py | 2 | ||||
-rwxr-xr-x | examples3/SQL/runform1.py | 2 | ||||
-rwxr-xr-x | examples3/SQL/runform2.py | 2 | ||||
-rwxr-xr-x | examples3/SQL/runsqlex.py | 4 | ||||
-rwxr-xr-x | examples3/SQL/sqlcustom1.py | 4 | ||||
-rwxr-xr-x | examples3/SQL/sqlsubclass5.py | 4 | ||||
-rwxr-xr-x | examples3/SQL/sqltable4.py | 4 |
8 files changed, 13 insertions, 13 deletions
diff --git a/examples3/SQL/dbconnect.py b/examples3/SQL/dbconnect.py index 6986d08..db922de 100755 --- a/examples3/SQL/dbconnect.py +++ b/examples3/SQL/dbconnect.py @@ -1,8 +1,8 @@ #!/usr/bin/env python import sys -from qt import * -from qtsql import * +from python_tqt.qt import * +from python_tqt.qtsql import * from frmconnect import frmConnect from dbpar import * diff --git a/examples3/SQL/frmconnect.py b/examples3/SQL/frmconnect.py index 92cf3f6..97fb406 100644 --- a/examples3/SQL/frmconnect.py +++ b/examples3/SQL/frmconnect.py @@ -6,7 +6,7 @@ # WARNING! All changes made in this file will be lost! -from qt import * +from python_tqt.qt import * class frmConnect(TQDialog): diff --git a/examples3/SQL/runform1.py b/examples3/SQL/runform1.py index b2b9951..2e01b7e 100755 --- a/examples3/SQL/runform1.py +++ b/examples3/SQL/runform1.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import sys -from qt import * +from python_tqt.qt import * from form1 import Form1 from dbconnect import createConnection diff --git a/examples3/SQL/runform2.py b/examples3/SQL/runform2.py index 485eed3..0184e9d 100755 --- a/examples3/SQL/runform2.py +++ b/examples3/SQL/runform2.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import sys -from qt import * +from python_tqt.qt import * from form2 import Form2 from dbconnect import createConnection diff --git a/examples3/SQL/runsqlex.py b/examples3/SQL/runsqlex.py index 0ac779f..2235699 100755 --- a/examples3/SQL/runsqlex.py +++ b/examples3/SQL/runsqlex.py @@ -1,8 +1,8 @@ #!/usr/bin/env python import sys -from qt import * -from qtsql import * +from python_tqt.qt import * +from python_tqt.qtsql import * from sqlex import SqlEx from connect import ConnectDialog diff --git a/examples3/SQL/sqlcustom1.py b/examples3/SQL/sqlcustom1.py index f708c1e..4da8f8a 100755 --- a/examples3/SQL/sqlcustom1.py +++ b/examples3/SQL/sqlcustom1.py @@ -11,8 +11,8 @@ #*****************************************************************************/ import sys -from qt import * -from qtsql import * +from python_tqt.qt import * +from python_tqt.qtsql import * from dbconnect import createConnection diff --git a/examples3/SQL/sqlsubclass5.py b/examples3/SQL/sqlsubclass5.py index 07cc90a..56f747e 100755 --- a/examples3/SQL/sqlsubclass5.py +++ b/examples3/SQL/sqlsubclass5.py @@ -11,8 +11,8 @@ #*****************************************************************************/ import sys -from qt import * -from qtsql import * +from python_tqt.qt import * +from python_tqt.qtsql import * from dbconnect import createConnection diff --git a/examples3/SQL/sqltable4.py b/examples3/SQL/sqltable4.py index 001e897..599f093 100755 --- a/examples3/SQL/sqltable4.py +++ b/examples3/SQL/sqltable4.py @@ -11,8 +11,8 @@ #*****************************************************************************/ import sys -from qt import * -from qtsql import * +from python_tqt.qt import * +from python_tqt.qtsql import * from dbconnect import createConnection |