From 5fd88f2a2099db96bee7a208d09843fd32fd6bf3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 27 Sep 2018 17:59:01 +0900 Subject: qt -> tqt conversion: QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST QT_NO_STL -> TQT_NO_STL QT_NO_COMPAT -> TQT_NO_COMPAT QT_NO_TRANSLATION -> TQT_NO_TRANSLATION Signed-off-by: Michele Calgaro --- src/tools/ntqglobal.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/tools/ntqglobal.h') 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 ); -- cgit v1.2.1