diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-12-21 13:00:42 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-12-21 13:00:42 +0100 |
commit | 7ec95b95226aa01c050dfc383833ef107bc95c60 (patch) | |
tree | 384f80578f90ad46d36f83ebcf82c8bfe7b5a84f /pyuic3 | |
parent | 223af3b47f7b564be7008a030969bcd25f7b3e7b (diff) | |
download | pytqt-7ec95b95.tar.gz pytqt-7ec95b95.zip |
Rename python extension module from python_tqt to PyTQt.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'pyuic3')
-rw-r--r-- | pyuic3/embed.cpp | 2 | ||||
-rw-r--r-- | pyuic3/form.cpp | 8 | ||||
-rw-r--r-- | pyuic3/main.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/pyuic3/embed.cpp b/pyuic3/embed.cpp index c3cbc43..3a66de3 100644 --- a/pyuic3/embed.cpp +++ b/pyuic3/embed.cpp @@ -134,7 +134,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima out << "\n"; out << "\n"; - out << "from python_tqt.qt import TQImage, TQMimeSourceFactory"; + out << "from PyTQt.qt import TQImage, TQMimeSourceFactory"; #ifndef TQT_NO_IMAGE_COLLECTION_COMPRESSION out << ", tqUncompress"; #endif diff --git a/pyuic3/form.cpp b/pyuic3/form.cpp index d0e6d7f..752c281 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 python_tqt.qttable import TQTable" << endl; + out << indent << "from PyTQt.qttable import TQTable" << endl; if (!axwidgets.empty()) - out << indent << "from python_tqt.qtaxcontainer import TQAxWidget" << endl; + out << indent << "from PyTQt.qtaxcontainer import TQAxWidget" << endl; if (globalIncludes.findIndex("tqextscintilla.h") >= 0) - out << indent << "from python_tqt.qtext import TQextScintilla" << endl; + out << indent << "from PyTQt.qtext import TQextScintilla" << endl; registerDatabases( e ); dbConnections = unique( dbConnections ); @@ -302,7 +302,7 @@ void Uic::createFormImpl( const TQDomElement &e ) sqlClasses += "TQDataView"; if ( !sqlClasses.empty() ) { - out << indent << "from python_tqt.qtsql import"; + out << indent << "from PyTQt.qtsql import"; const char *sep = " "; for ( it = sqlClasses.begin(); it != sqlClasses.end(); ++it ) { diff --git a/pyuic3/main.cpp b/pyuic3/main.cpp index a442654..43c9d7b 100644 --- a/pyuic3/main.cpp +++ b/pyuic3/main.cpp @@ -219,7 +219,7 @@ int main( int argc, char * argv[] ) if (testCode || execCode) out << "import sys" << endl; - out << "from python_tqt.qt import *" << endl; + out << "from PyTQt.qt import *" << endl; Uic( fileName, outputFile, out, doc, subcl, trmacro, className, uicClass ); |