summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqrect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tqrect.cpp')
-rw-r--r--src/kernel/tqrect.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/kernel/tqrect.cpp b/src/kernel/tqrect.cpp
index 0af8a22cb..6a03918e8 100644
--- a/src/kernel/tqrect.cpp
+++ b/src/kernel/tqrect.cpp
@@ -145,8 +145,8 @@ TQRect::TQRect( const TQPoint &topLeft, const TQSize &size )
/*!
\fn bool TQRect::isNull() const
- Returns TRUE if the rectangle is a null rectangle; otherwise
- returns FALSE.
+ Returns true if the rectangle is a null rectangle; otherwise
+ returns false.
A null rectangle has both the width and the height set to 0, that
is right() == left() - 1 and bottom() == top() - 1.
@@ -164,7 +164,7 @@ TQRect::TQRect( const TQPoint &topLeft, const TQSize &size )
/*!
\fn bool TQRect::isEmpty() const
- Returns TRUE if the rectangle is empty; otherwise returns FALSE.
+ Returns true if the rectangle is empty; otherwise returns false.
An empty rectangle has a left() \> right() or top() \> bottom().
@@ -176,7 +176,7 @@ TQRect::TQRect( const TQPoint &topLeft, const TQSize &size )
/*!
\fn bool TQRect::isValid() const
- Returns TRUE if the rectangle is valid; otherwise returns FALSE.
+ Returns true if the rectangle is valid; otherwise returns false.
A valid rectangle has a left() \<= right() and top() \<= bottom().
@@ -734,10 +734,10 @@ void TQRect::setSize( const TQSize &s )
}
/*!
- Returns TRUE if the point \a p is inside or on the edge of the
- rectangle; otherwise returns FALSE.
+ Returns true if the point \a p is inside or on the edge of the
+ rectangle; otherwise returns false.
- If \a proper is TRUE, this function returns TRUE only if \a p is
+ If \a proper is true, this function returns true only if \a p is
inside (not on the edge).
*/
@@ -754,27 +754,27 @@ bool TQRect::contains( const TQPoint &p, bool proper ) const
/*!
\overload bool TQRect::contains( int x, int y, bool proper ) const
- Returns TRUE if the point \a x, \a y is inside this rectangle;
- otherwise returns FALSE.
+ Returns true if the point \a x, \a y is inside this rectangle;
+ otherwise returns false.
- If \a proper is TRUE, this function returns TRUE only if the point
+ If \a proper is true, this function returns true only if the point
is entirely inside (not on the edge).
*/
/*!
\overload bool TQRect::contains( int x, int y ) const
- Returns TRUE if the point \a x, \a y is inside this rectangle;
- otherwise returns FALSE.
+ Returns true if the point \a x, \a y is inside this rectangle;
+ otherwise returns false.
*/
/*!
\overload
- Returns TRUE if the rectangle \a r is inside this rectangle;
- otherwise returns FALSE.
+ Returns true if the rectangle \a r is inside this rectangle;
+ otherwise returns false.
- If \a proper is TRUE, this function returns TRUE only if \a r is
+ If \a proper is true, this function returns true only if \a r is
entirely inside (not on the edge).
\sa unite(), intersect(), intersects()
@@ -873,9 +873,9 @@ TQRect TQRect::intersect( const TQRect &r ) const
}
/*!
- Returns TRUE if this rectangle intersects with rectangle \a r
+ Returns true if this rectangle intersects with rectangle \a r
(there is at least one pixel that is within both rectangles);
- otherwise returns FALSE.
+ otherwise returns false.
\sa intersect(), contains()
*/
@@ -890,7 +890,7 @@ bool TQRect::intersects( const TQRect &r ) const
/*!
\relates TQRect
- Returns TRUE if \a r1 and \a r2 are equal; otherwise returns FALSE.
+ Returns true if \a r1 and \a r2 are equal; otherwise returns false.
*/
bool operator==( const TQRect &r1, const TQRect &r2 )
@@ -901,7 +901,7 @@ bool operator==( const TQRect &r1, const TQRect &r2 )
/*!
\relates TQRect
- Returns TRUE if \a r1 and \a r2 are different; otherwise returns FALSE.
+ Returns true if \a r1 and \a r2 are different; otherwise returns false.
*/
bool operator!=( const TQRect &r1, const TQRect &r2 )