diff options
author | Slávek Banko <[email protected]> | 2016-09-28 13:27:40 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-09-28 13:27:40 +0200 |
commit | 1638609997cfef8fa1c63ba3f6ba93b9f6a4b014 (patch) | |
tree | e984c25d76b40b6314bdc2ff62eb806cf3920c5c /pyuic3/form.cpp | |
parent | e790d08307644b6718b2a547c21370b82aa4f376 (diff) | |
download | pytqt-1638609997cfef8fa1c63ba3f6ba93b9f6a4b014.tar.gz pytqt-1638609997cfef8fa1c63ba3f6ba93b9f6a4b014.zip |
Properly import python_tqt module in scripts generated by pyuic
Signed-off-by: Slávek Banko <[email protected]>
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 ) { |