summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqsize.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-12-08 15:17:51 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-08 19:38:03 +0900
commit7d612f7c91d55501276a385a30dbadb121e7bd9f (patch)
tree4c6f1546e16db32779dfbf5c9e107b938faee6bb /src/kernel/tqsize.cpp
parent5a863a8932d14b99c5f838c4efa1618070d71b29 (diff)
downloadtqt-7d612f7c91d55501276a385a30dbadb121e7bd9f.tar.gz
tqt-7d612f7c91d55501276a385a30dbadb121e7bd9f.zip
Replace TRUE/FALSE with boolean values true/false - part 8HEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/tqsize.cpp')
-rw-r--r--src/kernel/tqsize.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/kernel/tqsize.cpp b/src/kernel/tqsize.cpp
index 8a302eaa6..77fb16278 100644
--- a/src/kernel/tqsize.cpp
+++ b/src/kernel/tqsize.cpp
@@ -83,20 +83,20 @@
/*!
\fn bool TQSize::isNull() const
- Returns TRUE if the width is 0 and the height is 0; otherwise
- returns FALSE.
+ Returns true if the width is 0 and the height is 0; otherwise
+ returns false.
*/
/*!
\fn bool TQSize::isEmpty() const
- Returns TRUE if the width is less than or equal to 0, or the height is
- less than or equal to 0; otherwise returns FALSE.
+ Returns true if the width is less than or equal to 0, or the height is
+ less than or equal to 0; otherwise returns false.
*/
/*!
\fn bool TQSize::isValid() const
- Returns TRUE if the width is equal to or greater than 0 and the height is
- equal to or greater than 0; otherwise returns FALSE.
+ Returns true if the width is equal to or greater than 0 and the height is
+ equal to or greater than 0; otherwise returns false.
*/
/*!
@@ -182,7 +182,7 @@ void TQSize::scale( int w, int h, ScaleMode mode )
wd = (TQCOORD)w;
ht = (TQCOORD)h;
} else {
- bool useHeight = TRUE;
+ bool useHeight = true;
int w0 = width();
int h0 = height();
int rw = h * w0 / h0;
@@ -287,13 +287,13 @@ void TQSize::scale( const TQSize &s, ScaleMode mode )
/*!
\fn bool operator==( const TQSize &s1, const TQSize &s2 )
\relates TQSize
- Returns TRUE if \a s1 and \a s2 are equal; otherwise returns FALSE.
+ Returns true if \a s1 and \a s2 are equal; otherwise returns false.
*/
/*!
\fn bool operator!=( const TQSize &s1, const TQSize &s2 )
\relates TQSize
- Returns TRUE if \a s1 and \a s2 are different; otherwise returns FALSE.
+ Returns true if \a s1 and \a s2 are different; otherwise returns false.
*/
/*!