summaryrefslogtreecommitdiffstats
path: root/src/tools/ntqglobal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/ntqglobal.h')
-rw-r--r--src/tools/ntqglobal.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/ntqglobal.h b/src/tools/ntqglobal.h
index 55b7b9705..282fecea2 100644
--- a/src/tools/ntqglobal.h
+++ b/src/tools/ntqglobal.h
@@ -949,7 +949,7 @@ Q_EXPORT int qWinVersion();
#if !defined(QT_NO_DEBUG) && !defined(QT_DEBUG)
# define QT_DEBUG // display debug messages
-# if !defined(QT_NO_COMPAT) // compatibility with TQt 2
+# if !defined(TQT_NO_COMPAT) // compatibility with TQt 2
# if !defined(NO_DEBUG) && !defined(DEBUG)
# if !defined(Q_OS_MACX) // clash with MacOS X headers
# define DEBUG
@@ -992,13 +992,13 @@ Q_EXPORT void tqSystemWarning( const char *, int code = -1 );
# endif
#endif
-#if !defined(QT_NO_COMPAT) // compatibility with TQt 2
+#if !defined(TQT_NO_COMPAT) // compatibility with TQt 2
# if !defined(ASSERT)
# if !defined(Q_OS_TEMP)
# define ASSERT(x) Q_ASSERT(x)
# endif
# endif
-#endif // QT_NO_COMPAT
+#endif // TQT_NO_COMPAT
Q_EXPORT bool tqt_check_pointer( bool c, const char *, int );
@@ -1009,20 +1009,20 @@ Q_EXPORT bool tqt_check_pointer( bool c, const char *, int );
# define TQ_CHECK_PTR(p)
#endif
-#if !defined(QT_NO_COMPAT) // compatibility with TQt 2
+#if !defined(TQT_NO_COMPAT) // compatibility with TQt 2
# if !defined(CHECK_PTR)
# define CHECK_PTR(x) TQ_CHECK_PTR(x)
# endif
-#endif // QT_NO_COMPAT
+#endif // TQT_NO_COMPAT
enum TQtMsgType { TQtDebugMsg, TQtWarningMsg, TQtFatalMsg };
typedef void (*TQtMsgHandler)(TQtMsgType, const char *);
Q_EXPORT TQtMsgHandler qInstallMsgHandler( TQtMsgHandler );
-#if !defined(QT_NO_COMPAT) // compatibility with TQt 2
+#if !defined(TQT_NO_COMPAT) // compatibility with TQt 2
typedef TQtMsgHandler msg_handler;
-#endif // QT_NO_COMPAT
+#endif // TQT_NO_COMPAT
Q_EXPORT void tqSuppressObsoleteWarnings( bool = TRUE );