diff options
Diffstat (limited to 'doc/man/man3/tqrect.3qt')
-rw-r--r-- | doc/man/man3/tqrect.3qt | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/man/man3/tqrect.3qt b/doc/man/man3/tqrect.3qt index cfaccf0c5..41c0c7f64 100644 --- a/doc/man/man3/tqrect.3qt +++ b/doc/man/man3/tqrect.3qt @@ -188,7 +188,7 @@ TQRect \- Defines a rectangle in the plane .BI "TQRect & \fBoperator&=\fR ( const TQRect & r )" .br .ti -1c -.BI "bool \fBcontains\fR ( const TQPoint & p, bool proper = FALSE ) const" +.BI "bool \fBcontains\fR ( const TQPoint & p, bool proper = false ) const" .br .ti -1c .BI "bool \fBcontains\fR ( int x, int y ) const" @@ -197,7 +197,7 @@ TQRect \- 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 TQRect & r, bool proper = FALSE ) const" +.BI "bool \fBcontains\fR ( const TQRect & r, bool proper = false ) const" .br .ti -1c .BI "TQRect \fBunite\fR ( const TQRect & 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 TQRect::contains ( const TQPoint & 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 TQRect::contains ( const TQPoint & 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 TQRect::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 TQRect::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 TQRect::contains ( const TQRect & 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 TQRect::contains ( const TQRect & 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 TQRect::coords ( int * xp1, int * yp1, int * xp2, int * yp2 ) const" @@ -334,14 +334,14 @@ Examples: .SH "TQRect TQRect::intersect ( const TQRect & r ) const" Returns the intersection of this rectangle and rectangle \fIr\fR. \fCr.intersect(s)\fR is equivalent to \fCr&s\fR. .SH "bool TQRect::intersects ( const TQRect & 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 TQRect::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 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. .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 TQRect::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 TQRect & r1, const TQRect & 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 "TQDataStream & operator<< ( TQDataStream & s, const TQRect & r )" Writes the TQRect, \fIr\fR, to the stream \fIs\fR, and returns a reference to the stream. .PP See also Format of the TQDataStream operators. .SH "bool operator== ( const TQRect & r1, const TQRect & 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 "TQDataStream & operator>> ( TQDataStream & s, TQRect & r )" Reads a TQRect from the stream \fIs\fR into rect \fIr\fR and returns a reference to the stream. .PP |