From 0614be092185ccde33cd70fe6076f19970ebe571 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 27 Oct 2018 23:55:02 +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/qglobal.h | 6 ------ 4 files changed, 14 deletions(-) diff --git a/doc/html/porting.html b/doc/html/porting.html index 4b5a5d0..9722c7c 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 dd8d61a..a43fb73 100644 --- a/doc/html/qglobal-h.html +++ b/doc/html/qglobal-h.html @@ -1040,12 +1040,6 @@ Q_EXPORT bool qt_check_pointer( bool c, const char *, int ); # define Q_CHECK_PTR(p) #endif -#if !defined(QT_NO_COMPAT) // compatibility with Qt 2 -# if !defined(CHECK_PTR) -# define CHECK_PTR(x) Q_CHECK_PTR(x) -# endif -#endif // QT_NO_COMPAT - enum QtMsgType { QtDebugMsg, QtWarningMsg, QtFatalMsg }; typedef void (*QtMsgHandler)(QtMsgType, const char *); diff --git a/doc/porting3.doc b/doc/porting3.doc index 29f1e2e..30717e3 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 Q_CHECK_PTR \endlist For the record, undocumented macro variables that are not part of the API diff --git a/src/tools/qglobal.h b/src/tools/qglobal.h index 27f784e..fac387c 100644 --- a/src/tools/qglobal.h +++ b/src/tools/qglobal.h @@ -1007,12 +1007,6 @@ Q_EXPORT bool qt_check_pointer( bool c, const char *, int ); # define Q_CHECK_PTR(p) #endif -#if !defined(QT_NO_COMPAT) // compatibility with Qt 2 -# if !defined(CHECK_PTR) -# define CHECK_PTR(x) Q_CHECK_PTR(x) -# endif -#endif // QT_NO_COMPAT - enum QtMsgType { QtDebugMsg, QtWarningMsg, QtFatalMsg }; typedef void (*QtMsgHandler)(QtMsgType, const char *); -- cgit v1.2.3