diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-22 12:05:18 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-22 12:13:05 +0900 |
| commit | a4ebd73f48610ed351c9c53f3646d0597f8ea7bc (patch) | |
| tree | 2edd219eef4cb8f35bb3844d06902ae8b2fcb565 /src/tools/tquuid.cpp | |
| parent | 7d612f7c91d55501276a385a30dbadb121e7bd9f (diff) | |
| download | tqt-rename/true-false-9.tar.gz tqt-rename/true-false-9.zip | |
Replace TRUE/FALSE with boolean values true/false - part 9rename/true-false-9
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tools/tquuid.cpp')
| -rw-r--r-- | src/tools/tquuid.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/tools/tquuid.cpp b/src/tools/tquuid.cpp index 566c9f405..bcef551a3 100644 --- a/src/tools/tquuid.cpp +++ b/src/tools/tquuid.cpp @@ -62,7 +62,7 @@ UUIDs can be constructed from numeric values or from strings, or using the static createUuid() function. They can be converted to a string with toString(). UUIDs have a variant() and a version(), - and null UUIDs return TRUE from isNull(). + and null UUIDs return true from isNull(). */ /*! @@ -162,15 +162,15 @@ TQUuid::TQUuid( const char *text ) /*! \fn bool TQUuid::operator==(const TQUuid &other) const - Returns TRUE if this TQUuid and the \a other TQUuid are identical; - otherwise returns FALSE. + Returns true if this TQUuid and the \a other TQUuid are identical; + otherwise returns false. */ /*! \fn bool TQUuid::operator!=(const TQUuid &other) const - Returns TRUE if this TQUuid and the \a other TQUuid are different; - otherwise returns FALSE. + Returns true if this TQUuid and the \a other TQUuid are different; + otherwise returns false. */ #ifndef TQT_NO_QUUID_STRING /*! @@ -241,8 +241,8 @@ TQDataStream &operator>>( TQDataStream &s, TQUuid &id ) #endif /*! - Returns TRUE if this is the null UUID - {00000000-0000-0000-0000-000000000000}; otherwise returns FALSE. + Returns true if this is the null UUID + {00000000-0000-0000-0000-000000000000}; otherwise returns false. */ bool TQUuid::isNull() const { @@ -320,9 +320,9 @@ TQUuid::Version TQUuid::version() const /*! \fn bool TQUuid::operator<(const TQUuid &other) const - Returns TRUE if this TQUuid is of the same variant, + Returns true if this TQUuid is of the same variant, and lexicographically before the \a other TQUuid; - otherwise returns FALSE. + otherwise returns false. \sa variant() */ @@ -330,7 +330,7 @@ TQUuid::Version TQUuid::version() const bool TQUuid::operator<(const TQUuid &other ) const { if ( variant() != other.variant() ) - return FALSE; + return false; ISLESS( data1, other.data1 ); ISLESS( data2, other.data2 ); @@ -338,15 +338,15 @@ bool TQUuid::operator<(const TQUuid &other ) const for ( int n = 0; n < 8; n++ ) { ISLESS( data4[n], other.data4[n] ); } - return FALSE; + return false; } /*! \fn bool TQUuid::operator>(const TQUuid &other) const - Returns TRUE if this TQUuid is of the same variant, + Returns true if this TQUuid is of the same variant, and lexicographically after the \a other TQUuid; - otherwise returns FALSE. + otherwise returns false. \sa variant() */ @@ -354,7 +354,7 @@ bool TQUuid::operator<(const TQUuid &other ) const bool TQUuid::operator>(const TQUuid &other ) const { if ( variant() != other.variant() ) - return FALSE; + return false; ISMORE( data1, other.data1 ); ISMORE( data2, other.data2 ); @@ -362,7 +362,7 @@ bool TQUuid::operator>(const TQUuid &other ) const for ( int n = 0; n < 8; n++ ) { ISMORE( data4[n], other.data4[n] ); } - return FALSE; + return false; } /*! |
