diff options
Diffstat (limited to 'src/kernel/qpalette.cpp')
| -rw-r--r-- | src/kernel/qpalette.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/kernel/qpalette.cpp b/src/kernel/qpalette.cpp index 31f45c057..4227307f1 100644 --- a/src/kernel/qpalette.cpp +++ b/src/kernel/qpalette.cpp @@ -484,15 +484,15 @@ void TQColorGroup::setBrush( ColorRole r, const TQBrush &b ) /*! \fn bool TQColorGroup::operator!=( const TQColorGroup &g ) const - Returns TRUE if this color group is different from \a g; otherwise - returns FALSE. + Returns true if this color group is different from \a g; otherwise + returns false. \sa operator!=() */ /*! - Returns TRUE if this color group is equal to \a g; otherwise - returns FALSE. + Returns true if this color group is equal to \a g; otherwise + returns false. \sa operator==() */ @@ -500,11 +500,11 @@ void TQColorGroup::setBrush( ColorRole r, const TQBrush &b ) bool TQColorGroup::operator==( const TQColorGroup &g ) const { if ( d == g.d ) - return TRUE; + return true; for( int r = 0 ; r < NColorRoles ; r++ ) if ( br[r] != g.br[r] ) - return FALSE; - return TRUE; + return false; + return true; } @@ -907,13 +907,13 @@ void TQPalette::setInactive( const TQColorGroup &g ) /*! \fn bool TQPalette::operator!=( const TQPalette &p ) const - Returns TRUE (slowly) if this palette is different from \a p; - otherwise returns FALSE (usually quickly). + Returns true (slowly) if this palette is different from \a p; + otherwise returns false (usually quickly). */ /*! - Returns TRUE (usually quickly) if this palette is equal to \a p; - otherwise returns FALSE (slowly). + Returns true (usually quickly) if this palette is equal to \a p; + otherwise returns false (slowly). */ bool TQPalette::operator==( const TQPalette &p ) const @@ -1083,9 +1083,9 @@ TQDataStream &operator>>( TQDataStream &s, TQPalette &p ) #endif //TQT_NO_DATASTREAM /*! - Returns TRUE if this palette and \a p are copies of each other, + Returns true if this palette and \a p are copies of each other, i.e. one of them was created as a copy of the other and neither - was subsequently modified; otherwise returns FALSE. This is much + was subsequently modified; otherwise returns false. This is much stricter than equality. \sa operator=() operator==() |
