summaryrefslogtreecommitdiffstats
path: root/pyuic2
diff options
context:
space:
mode:
Diffstat (limited to 'pyuic2')
-rw-r--r--pyuic2/uic.cpp2
-rw-r--r--pyuic2/uic.h2
-rw-r--r--pyuic2/widgetdatabase.cpp4
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";