From 7f4d09f20062c6b26342f91d5cec5d859c58d662 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 27 Oct 2018 23:55:03 +0900 Subject: Removed obsolete CHECK_PTR and replaced CHECK_PTR/Q_CHECK_PTR with TQ_CHECK_PTR. Signed-off-by: Michele Calgaro --- doc/html/porting.html | 1 - doc/html/qglobal-h.html | 6 ------ doc/porting3.doc | 1 - src/tools/ntqglobal.h | 6 ------ 4 files changed, 14 deletions(-) diff --git a/doc/html/porting.html b/doc/html/porting.html index 78db2bc6..e8c24e74 100644 --- a/doc/html/porting.html +++ b/doc/html/porting.html @@ -220,7 +220,6 @@ previously disabled, please check these macro variables:

The name of some debugging macro functions has been changed:

For the record, undocumented macro variables that are not part of the API have been changed: diff --git a/doc/html/qglobal-h.html b/doc/html/qglobal-h.html index c12d1134..491876c0 100644 --- a/doc/html/qglobal-h.html +++ b/doc/html/qglobal-h.html @@ -1040,12 +1040,6 @@ Q_EXPORT bool tqt_check_pointer( bool c, const char *, int ); # define TQ_CHECK_PTR(p) #endif -#if !defined(TQT_NO_COMPAT) // compatibility with TQt 2 -# if !defined(CHECK_PTR) -# define CHECK_PTR(x) TQ_CHECK_PTR(x) -# endif -#endif // TQT_NO_COMPAT - enum TQtMsgType { TQtDebugMsg, TQtWarningMsg, TQtFatalMsg }; typedef void (*TQtMsgHandler)(TQtMsgType, const char *); diff --git a/doc/porting3.doc b/doc/porting3.doc index a85decf3..c3024625 100644 --- a/doc/porting3.doc +++ b/doc/porting3.doc @@ -169,7 +169,6 @@ The name of some debugging macro functions has been changed: \list \i \c ASSERT becomes \c Q_ASSERT -\i \c CHECK_PTR becomes \c TQ_CHECK_PTR \endlist For the record, undocumented macro variables that are not part of the API diff --git a/src/tools/ntqglobal.h b/src/tools/ntqglobal.h index e92c825f..11d6db8b 100644 --- a/src/tools/ntqglobal.h +++ b/src/tools/ntqglobal.h @@ -1009,12 +1009,6 @@ Q_EXPORT bool tqt_check_pointer( bool c, const char *, int ); # define TQ_CHECK_PTR(p) #endif -#if !defined(TQT_NO_COMPAT) // compatibility with TQt 2 -# if !defined(CHECK_PTR) -# define CHECK_PTR(x) TQ_CHECK_PTR(x) -# endif -#endif // TQT_NO_COMPAT - enum TQtMsgType { TQtDebugMsg, TQtWarningMsg, TQtFatalMsg }; typedef void (*TQtMsgHandler)(TQtMsgType, const char *); -- cgit v1.2.3