summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qtinterface/tqt.h.cmake8
1 files changed, 6 insertions, 2 deletions
diff --git a/qtinterface/tqt.h.cmake b/qtinterface/tqt.h.cmake
index 7f5da92..15c6390 100644
--- a/qtinterface/tqt.h.cmake
+++ b/qtinterface/tqt.h.cmake
@@ -50,8 +50,6 @@ Boston, MA 02110-1301, USA.
#include <qglobal.h>
-#ifndef TQT_REAL_TQT
-
#ifdef QT_NO_SQL
#define TQT_NO_SQL
#endif /* QT_NO_SQL */
@@ -62,6 +60,8 @@ Boston, MA 02110-1301, USA.
#define TQ_OBJECT /* UNUSED */
+#ifndef TQT_REAL_TQT
+
#define TQWIDGETSIZE_MAX QWIDGETSIZE_MAX
#define TQ_INLINE_TEMPLATES Q_INLINE_TEMPLATES
#define TQ_DUMMY_COMPARISON_OPERATOR Q_DUMMY_COMPARISON_OPERATOR
@@ -1064,6 +1064,8 @@ Boston, MA 02110-1301, USA.
#define TQ_ControlElement ControlElement
#define TQ_ComplexControl ComplexControl
+#ifndef TQT_REAL_TQT
+
#define TQUObject QUObject
#define static_TQUType_int static_QUType_int
#define static_TQUType_TQString static_QUType_QString
@@ -1076,6 +1078,8 @@ Boston, MA 02110-1301, USA.
#define TQ_EXPORT_PLUGIN Q_EXPORT_PLUGIN
#define TQ_EXPORT Q_EXPORT
+#endif
+
#define tqreadBlock readBlock
#define tqwriteBlock writeBlock
#define TQT_TQIO_LONG TQ_LONG