From e790d08307644b6718b2a547c21370b82aa4f376 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 25 Sep 2016 11:01:09 +0200 Subject: Fix examples to properly import python_tqt module This resolves bug 2693 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- examples3/SQL/dbconnect.py | 4 ++-- examples3/SQL/frmconnect.py | 2 +- examples3/SQL/runform1.py | 2 +- examples3/SQL/runform2.py | 2 +- examples3/SQL/runsqlex.py | 4 ++-- examples3/SQL/sqlcustom1.py | 4 ++-- examples3/SQL/sqlsubclass5.py | 4 ++-- examples3/SQL/sqltable4.py | 4 ++-- 8 files changed, 13 insertions(+), 13 deletions(-) (limited to 'examples3/SQL') 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 -- cgit v1.2.1