diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-14 21:12:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-14 21:12:44 -0600 |
commit | e87fff3247e64b4e9509be991a8f2d6bd4ccfacc (patch) | |
tree | 71a3198fc141420d65eefa7036159af85894cf7d /pyuic2 | |
parent | 06500cd8e9be747a323920c9475fba0e6618d2de (diff) | |
download | pytqt-e87fff3247e64b4e9509be991a8f2d6bd4ccfacc.tar.gz pytqt-e87fff3247e64b4e9509be991a8f2d6bd4ccfacc.zip |
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'pyuic2')
-rw-r--r-- | pyuic2/uic.cpp | 2 | ||||
-rw-r--r-- | pyuic2/uic.h | 2 | ||||
-rw-r--r-- | pyuic2/widgetdatabase.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/pyuic2/uic.cpp b/pyuic2/uic.cpp index 0ec57e6..caef972 100644 --- a/pyuic2/uic.cpp +++ b/pyuic2/uic.cpp @@ -1572,7 +1572,7 @@ int main( int argc, char * argv[] ) out << "# Form implementation generated from reading ui file '" << fileName << "'" << endl; out << "#" << endl; out << "# Created: " << TQDateTime::currentDateTime().toString() << endl; - out << "# by: The Python User Interface Compiler (pyuic) " << PYQT_VERSION << endl; + out << "# by: The Python User Interface Compiler (pyuic) " << PYTQT_VERSION << endl; out << "#" << endl; out << "# WARNING! All changes made in this file will be lost!" << endl; out << endl; diff --git a/pyuic2/uic.h b/pyuic2/uic.h index 5560581..b772aca 100644 --- a/pyuic2/uic.h +++ b/pyuic2/uic.h @@ -28,7 +28,7 @@ #include <tqcolor.h> -#define PYQT_VERSION "3.18.1" +#define PYTQT_VERSION "3.18.1" class Uic : public TQt diff --git a/pyuic2/widgetdatabase.cpp b/pyuic2/widgetdatabase.cpp index bed387b..d728204 100644 --- a/pyuic2/widgetdatabase.cpp +++ b/pyuic2/widgetdatabase.cpp @@ -191,7 +191,7 @@ void WidgetDatabase::setupDataBase() append( r ); -#if defined(QT_MODULE_ICONVIEW) || defined(UIC) +#if defined(TQT_MODULE_ICONVIEW) || defined(UIC) r = new WidgetDatabaseRecord; r->iconSet = "iconview.xpm"; r->name = "TQIconView"; @@ -201,7 +201,7 @@ void WidgetDatabase::setupDataBase() append( r ); #endif -#if defined(QT_MODULE_TABLE) +#if defined(TQT_MODULE_TABLE) r = new WidgetDatabaseRecord; r->iconSet = "table.xpm"; r->name = "TQTable"; |