summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqpointarray.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/tqpointarray.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/tqpointarray.3qt')
-rw-r--r--doc/man/man3/tqpointarray.3qt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqpointarray.3qt b/doc/man/man3/tqpointarray.3qt
index f086e824c..359c82777 100644
--- a/doc/man/man3/tqpointarray.3qt
+++ b/doc/man/man3/tqpointarray.3qt
@@ -28,7 +28,7 @@ Inherits QMemArray<QPoint>.
.BI "\fBQPointArray\fR ( const QPointArray & a )"
.br
.ti -1c
-.BI "\fBQPointArray\fR ( const QRect & r, bool closed = FALSE )"
+.BI "\fBQPointArray\fR ( const QRect & r, bool closed = false )"
.br
.ti -1c
.BI "QPointArray & \fBoperator=\fR ( const QPointArray & a )"
@@ -129,12 +129,12 @@ See also resize() and isNull().
Constructs a shallow copy of the point array \fIa\fR.
.PP
See also copy() and detach().
-.SH "QPointArray::QPointArray ( const QRect & r, bool closed = FALSE )"
+.SH "QPointArray::QPointArray ( const QRect & r, bool closed = false )"
Constructs a point array from the rectangle \fIr\fR.
.PP
-If \fIclosed\fR is FALSE, then the point array just contains the following four points in the listed order: r.topLeft(), r.topRight(), r.bottomRight() and r.bottomLeft().
+If \fIclosed\fR is false, then the point array just contains the following four points in the listed order: r.topLeft(), r.topRight(), r.bottomRight() and r.bottomLeft().
.PP
-If \fIclosed\fR is TRUE, then a fifth point is set to r.topLeft().
+If \fIclosed\fR is true, then a fifth point is set to r.topLeft().
.SH "QPointArray::~QPointArray ()"
Destroys the point array.
.SH "QRect QPointArray::boundingRect () const"
@@ -178,7 +178,7 @@ Returns the point at position \fIindex\fR within the array.
.SH "bool QPointArray::putPoints ( int index, int nPoints, int firstx, int firsty, ... )"
Copies \fInPoints\fR points from the variable argument list into this point array from position \fIindex\fR, and resizes the point array if \fCindex+nPoints\fR exceeds the size of the array.
.PP
-Returns TRUE if successful, or FALSE if the array could not be resized (typically due to lack of memory).
+Returns true if successful, or false if the array could not be resized (typically due to lack of memory).
.PP
The example code creates an array with three points (4,5), (6,7) and (8,9), by expanding the array from 1 to 3 points:
.PP