summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqpalette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tqpalette.cpp')
-rw-r--r--src/kernel/tqpalette.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/kernel/tqpalette.cpp b/src/kernel/tqpalette.cpp
index fad57ce13..7fc7dff8c 100644
--- a/src/kernel/tqpalette.cpp
+++ b/src/kernel/tqpalette.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;
}
@@ -883,13 +883,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
@@ -1059,9 +1059,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==()