diff options
author | Michele Calgaro <[email protected]> | 2018-10-27 23:55:03 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-10-27 23:55:03 +0900 |
commit | 7f4d09f20062c6b26342f91d5cec5d859c58d662 (patch) | |
tree | bfd1631a1641ef52fd3f7fdd11d8bfca31427538 | |
parent | 23b535df5bc08e8f5e98270859c5dc5c73f4ebdd (diff) | |
download | tqt3-7f4d09f20062c6b26342f91d5cec5d859c58d662.tar.gz tqt3-7f4d09f20062c6b26342f91d5cec5d859c58d662.zip |
Removed obsolete CHECK_PTR and replaced CHECK_PTR/Q_CHECK_PTR with TQ_CHECK_PTR.
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | doc/html/porting.html | 1 | ||||
-rw-r--r-- | doc/html/qglobal-h.html | 6 | ||||
-rw-r--r-- | doc/porting3.doc | 1 | ||||
-rw-r--r-- | src/tools/ntqglobal.h | 6 |
4 files changed, 0 insertions, 14 deletions
diff --git a/doc/html/porting.html b/doc/html/porting.html index 78db2bc61..e8c24e74d 100644 --- a/doc/html/porting.html +++ b/doc/html/porting.html @@ -220,7 +220,6 @@ previously disabled, please check these macro variables: <p> The name of some debugging macro functions has been changed: <p> <ul> <li> <tt>ASSERT</tt> becomes <tt>Q_ASSERT</tt> -<li> <tt>CHECK_PTR</tt> becomes <tt>TQ_CHECK_PTR</tt> </ul> <p> 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 c12d11349..491876c0d 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 a85decf3b..c3024625f 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 e92c825fc..11d6db8bb 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 *); |