summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqrect.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-31 13:38:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-31 13:43:03 +0900
commit6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch)
treeb029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqrect.3qt
parent81ade129093a279e6537db25710583fd2bba9427 (diff)
downloadtqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.tar.gz
tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.zip
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked and manually edited from commit 6dd781c483eea56f51ae0eff47d857976b5d0f0d)
Diffstat (limited to 'doc/man/man3/tqrect.3qt')
-rw-r--r--doc/man/man3/tqrect.3qt34
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/man/man3/tqrect.3qt b/doc/man/man3/tqrect.3qt
index 80b56227b..94fa7d7ab 100644
--- a/doc/man/man3/tqrect.3qt
+++ b/doc/man/man3/tqrect.3qt
@@ -188,7 +188,7 @@ QRect \- Defines a rectangle in the plane
.BI "QRect & \fBoperator&=\fR ( const QRect & r )"
.br
.ti -1c
-.BI "bool \fBcontains\fR ( const QPoint & p, bool proper = FALSE ) const"
+.BI "bool \fBcontains\fR ( const QPoint & p, bool proper = false ) const"
.br
.ti -1c
.BI "bool \fBcontains\fR ( int x, int y ) const"
@@ -197,7 +197,7 @@ QRect \- Defines a rectangle in the plane
.BI "bool \fBcontains\fR ( int x, int y, bool proper ) const"
.br
.ti -1c
-.BI "bool \fBcontains\fR ( const QRect & r, bool proper = FALSE ) const"
+.BI "bool \fBcontains\fR ( const QRect & r, bool proper = false ) const"
.br
.ti -1c
.BI "QRect \fBunite\fR ( const QRect & r ) const"
@@ -293,28 +293,28 @@ Returns the center point of the rectangle.
See also moveCenter(), topLeft(), bottomRight(), topRight(), and bottomLeft().
.PP
Example: tooltip/tooltip.cpp.
-.SH "bool QRect::contains ( const QPoint & p, bool proper = FALSE ) const"
-Returns TRUE if the point \fIp\fR is inside or on the edge of the rectangle; otherwise returns FALSE.
+.SH "bool QRect::contains ( const QPoint & p, bool proper = false ) const"
+Returns true if the point \fIp\fR is inside or on the edge of the rectangle; otherwise returns false.
.PP
-If \fIproper\fR is TRUE, this function returns TRUE only if \fIp\fR is inside (not on the edge).
+If \fIproper\fR is true, this function returns true only if \fIp\fR is inside (not on the edge).
.PP
Example: t14/cannon.cpp.
.SH "bool QRect::contains ( int x, int y ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-Returns TRUE if the point \fIx\fR, \fIy\fR is inside this rectangle; otherwise returns FALSE.
+Returns true if the point \fIx\fR, \fIy\fR is inside this rectangle; otherwise returns false.
.SH "bool QRect::contains ( int x, int y, bool proper ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-Returns TRUE if the point \fIx\fR, \fIy\fR is inside this rectangle; otherwise returns FALSE.
+Returns true if the point \fIx\fR, \fIy\fR is inside this rectangle; otherwise returns false.
.PP
-If \fIproper\fR is TRUE, this function returns TRUE only if the point is entirely inside (not on the edge).
-.SH "bool QRect::contains ( const QRect & r, bool proper = FALSE ) const"
+If \fIproper\fR is true, this function returns true only if the point is entirely inside (not on the edge).
+.SH "bool QRect::contains ( const QRect & r, bool proper = false ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-Returns TRUE if the rectangle \fIr\fR is inside this rectangle; otherwise returns FALSE.
+Returns true if the rectangle \fIr\fR is inside this rectangle; otherwise returns false.
.PP
-If \fIproper\fR is TRUE, this function returns TRUE only if \fIr\fR is entirely inside (not on the edge).
+If \fIproper\fR is true, this function returns true only if \fIr\fR is entirely inside (not on the edge).
.PP
See also unite(), intersect(), and intersects().
.SH "void QRect::coords ( int * xp1, int * yp1, int * xp2, int * yp2 ) const"
@@ -334,14 +334,14 @@ Examples:
.SH "QRect QRect::intersect ( const QRect & r ) const"
Returns the intersection of this rectangle and rectangle \fIr\fR. \fCr.intersect(s)\fR is equivalent to \fCr&s\fR.
.SH "bool QRect::intersects ( const QRect & r ) const"
-Returns TRUE if this rectangle intersects with rectangle \fIr\fR (there is at least one pixel that is within both rectangles); otherwise returns FALSE.
+Returns true if this rectangle intersects with rectangle \fIr\fR (there is at least one pixel that is within both rectangles); otherwise returns false.
.PP
See also intersect() and contains().
.PP
Examples:
.)l t11/cannon.cpp, t12/cannon.cpp, t13/cannon.cpp, and t14/cannon.cpp.
.SH "bool QRect::isEmpty () const"
-Returns TRUE if the rectangle is empty; otherwise returns FALSE.
+Returns true if the rectangle is empty; otherwise returns false.
.PP
An empty rectangle has a left() > right() or top() > bottom().
.PP
@@ -349,7 +349,7 @@ An empty rectangle is not valid. \fCisEmpty() == !isValid()\fR
.PP
See also isNull(), isValid(), and normalize().
.SH "bool QRect::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.
.PP
A null rectangle has both the width and the height set to 0, that is right() == left() - 1 and bottom() == top() - 1.
.PP
@@ -361,7 +361,7 @@ A null rectangle is not valid.
.PP
See also isEmpty() and isValid().
.SH "bool QRect::isValid () const"
-Returns TRUE if the rectangle is valid; otherwise returns FALSE.
+Returns true if the rectangle is valid; otherwise returns false.
.PP
A valid rectangle has a left() <= right() and top() <= bottom().
.PP
@@ -624,13 +624,13 @@ Examples:
.)l desktop/desktop.cpp, movies/main.cpp, scribble/scribble.cpp, t12/cannon.cpp, t14/cannon.cpp, themes/metal.cpp, and themes/wood.cpp.
.SH RELATED FUNCTION DOCUMENTATION
.SH "bool operator!= ( const QRect & r1, const QRect & r2 )"
-Returns TRUE if \fIr1\fR and \fIr2\fR are different; otherwise returns FALSE.
+Returns true if \fIr1\fR and \fIr2\fR are different; otherwise returns false.
.SH "QDataStream & operator<< ( QDataStream & s, const QRect & r )"
Writes the QRect, \fIr\fR, to the stream \fIs\fR, and returns a reference to the stream.
.PP
See also Format of the QDataStream operators.
.SH "bool operator== ( const QRect & r1, const QRect & r2 )"
-Returns TRUE if \fIr1\fR and \fIr2\fR are equal; otherwise returns FALSE.
+Returns true if \fIr1\fR and \fIr2\fR are equal; otherwise returns false.
.SH "QDataStream & operator>> ( QDataStream & s, QRect & r )"
Reads a QRect from the stream \fIs\fR into rect \fIr\fR and returns a reference to the stream.
.PP