summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqt.h')
-rw-r--r--qtinterface/tqt.h28
1 files changed, 25 insertions, 3 deletions
diff --git a/qtinterface/tqt.h b/qtinterface/tqt.h
index fdd3e94..6254419 100644
--- a/qtinterface/tqt.h
+++ b/qtinterface/tqt.h
@@ -49,6 +49,8 @@ Boston, MA 02110-1301, USA.
#endif // __cplusplus
#ifdef USE_QT3
+#define TQ_OBJECT /* UNUSED */
+
#define qint64 long
#define quint64 unsigned long
@@ -365,6 +367,7 @@ Boston, MA 02110-1301, USA.
#define TQCustomMenuItem QCustomMenuItem
#define TQMenuData QMenuData
#define TQMessageBox QMessageBox
+#define TQMetaData QMetaData
#define TQMetaProperty QMetaProperty
#define TQMetaObject QMetaObject
#define TQMetaObjectCleanUp QMetaObjectCleanUp
@@ -389,9 +392,9 @@ Boston, MA 02110-1301, USA.
//#define TQObject QObject
#define TQObjectUserData QObjectUserData
//#define TQObject QObject
-#define TQObjectList QObjectList
-#define TQObjectListIterator QObjectListIterator
-#define TQObjectListIt QObjectListIt
+//#define TQObjectList QObjectList
+//#define TQObjectListIterator QObjectListIterator
+//#define TQObjectListIt QObjectListIt
#define TQPaintDevice QPaintDevice
#define TQPaintDeviceMetrics QPaintDeviceMetrics
#define TQColorGroup QColorGroup
@@ -599,6 +602,20 @@ Boston, MA 02110-1301, USA.
#define TQMOC MOC
#define TQRGB_MASK RGB_MASK
+#define TQ_INT8 Q_INT8
+#define TQ_INT16 Q_INT16
+#define TQ_INT32 Q_INT32
+#define TQ_INT64 Q_INT64
+#define TQ_UINT8 Q_UINT8
+#define TQ_UINT16 Q_UINT16
+#define TQ_UINT32 Q_UINT32
+#define TQ_UINT64 Q_UINT64
+
+#define TQ_LONG Q_LONG
+#define TQ_LLONG Q_LLONG
+#define TQ_ULONG Q_ULONG
+#define TQ_ULLONG Q_ULLONG
+
#define tqRed qRed
#define tqGreen qGreen
#define tqBlue qBlue
@@ -656,9 +673,14 @@ Boston, MA 02110-1301, USA.
#define tqdrawTextItem drawTextItem
#define tqsetLibraryPaths setLibraryPaths
#define tqsetColorGroup setColorGroup
+#define tqfindRev findRev
+#define tqfindProperty findProperty
+#define tqfindSlot findSlot
#define TQUObject QUObject
+#define tqt_mo_access access
+
// BEGIN BLOCK ONE
// This block of text is taken (mostly) straight from TQt for Qt4 tqtglobaldefines.h
// It will need to be updated now and then as TQt for Qt4 changes