diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/html/qglobal-h.html | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qglobal-h.html')
| -rw-r--r-- | doc/html/qglobal-h.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/qglobal-h.html b/doc/html/qglobal-h.html index 0fe24f382..b66063289 100644 --- a/doc/html/qglobal-h.html +++ b/doc/html/qglobal-h.html @@ -594,14 +594,14 @@ typedef const char *pcchar; // Constant bool values // -#ifndef TRUE -const bool FALSE = 0; -const bool TRUE = !0; +#ifndef true +const bool false = 0; +const bool true = !0; #endif #if defined(__WATCOMC__) # if defined(Q_OS_QNX4) -const bool false = FALSE; -const bool true = TRUE; +const bool false = false; +const bool true = true; # endif #endif @@ -946,7 +946,7 @@ TQ_EXPORT TQtMsgHandler qInstallMsgHandler( TQtMsgHandler ); typedef TQtMsgHandler msg_handler; #endif // TQT_NO_COMPAT -TQ_EXPORT void tqSuppressObsoleteWarnings( bool = TRUE ); +TQ_EXPORT void tqSuppressObsoleteWarnings( bool = true ); TQ_EXPORT void tqObsolete( const char *obj, const char *oldfunc, const char *newfunc ); @@ -982,7 +982,7 @@ TQ_EXPORT const char *tqInstallPathSysconf(); # define TQ_DUMMY_COMPARISON_OPERATOR(C) \ bool operator==( const C& ) const { \ tqWarning( #C"::operator==( const "#C"& ) got called." ); \ - return FALSE; \ + return false; \ } #else # define TQ_DUMMY_COMPARISON_OPERATOR(C) |
