summaryrefslogtreecommitdiffstats
path: root/pyuic3
diff options
context:
space:
mode:
Diffstat (limited to 'pyuic3')
-rw-r--r--pyuic3/embed.cpp2
-rw-r--r--pyuic3/form.cpp8
-rw-r--r--pyuic3/main.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/pyuic3/embed.cpp b/pyuic3/embed.cpp
index 410a0d8..bba5f7f 100644
--- a/pyuic3/embed.cpp
+++ b/pyuic3/embed.cpp
@@ -135,7 +135,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima
out << "\n";
out << "\n";
- out << "from qt import TQImage, TQMimeSourceFactory";
+ out << "from python_tqt.qt import TQImage, TQMimeSourceFactory";
#ifndef QT_NO_IMAGE_COLLECTION_COMPRESSION
out << ", tqUncompress";
#endif
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 ) {
diff --git a/pyuic3/main.cpp b/pyuic3/main.cpp
index b1c1fdb..42d1c63 100644
--- a/pyuic3/main.cpp
+++ b/pyuic3/main.cpp
@@ -220,7 +220,7 @@ int main( int argc, char * argv[] )
if (testCode || execCode)
out << "import sys" << endl;
- out << "from qt import *" << endl;
+ out << "from python_tqt.qt import *" << endl;
Uic( fileName, outputFile, out, doc, subcl, trmacro, className, uicClass );