diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-09-28 13:27:40 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-09-28 13:27:52 +0200 |
commit | 929e8d56cb7d1ab497d8ad31ad95b37221f91dd8 (patch) | |
tree | e984c25d76b40b6314bdc2ff62eb806cf3920c5c /pyuic3/form.cpp | |
parent | f303e4dc2ba3075192db2ab1fc570abd10ba224a (diff) | |
download | pytqt-929e8d56cb7d1ab497d8ad31ad95b37221f91dd8.tar.gz pytqt-929e8d56cb7d1ab497d8ad31ad95b37221f91dd8.zip |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1638609997cfef8fa1c63ba3f6ba93b9f6a4b014)
Diffstat (limited to 'pyuic3/form.cpp')
-rw-r--r-- | pyuic3/form.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pyuic3/form.cpp b/pyuic3/form.cpp index 1e5a81e..3ef0c04 100644 --- a/pyuic3/form.cpp +++ b/pyuic3/form.cpp @@ -258,13 +258,13 @@ void Uic::createFormImpl( const TQDomElement &e ) } if (globalIncludes.findIndex("qtable.h") >= 0) - out << indent << "from qttable import TQTable" << endl; + out << indent << "from python_tqt.qttable import TQTable" << endl; if (!axwidgets.empty()) - out << indent << "from qtaxcontainer import TQAxWidget" << endl; + out << indent << "from python_tqt.qtaxcontainer import TQAxWidget" << endl; if (globalIncludes.findIndex("qextscintilla.h") >= 0) - out << indent << "from qtext import QextScintilla" << endl; + out << indent << "from python_tqt.qtext import QextScintilla" << endl; registerDatabases( e ); dbConnections = unique( dbConnections ); @@ -302,7 +302,7 @@ void Uic::createFormImpl( const TQDomElement &e ) sqlClasses += "TQDataView"; if ( !sqlClasses.empty() ) { - out << indent << "from qtsql import"; + out << indent << "from python_tqt.qtsql import"; const char *sep = " "; for ( it = sqlClasses.begin(); it != sqlClasses.end(); ++it ) { |