summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqpoint.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/tqpoint.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/tqpoint.3qt')
-rw-r--r--doc/man/man3/tqpoint.3qt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqpoint.3qt b/doc/man/man3/tqpoint.3qt
index c017a6223..f8c4ad557 100644
--- a/doc/man/man3/tqpoint.3qt
+++ b/doc/man/man3/tqpoint.3qt
@@ -152,11 +152,11 @@ QPoints can be compared for equality or inequality, and they can be written to a
See also QPointArray, QSize, QRect, Graphics Classes, and Image Processing Classes.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QPoint::QPoint ()"
-Constructs a point with coordinates (0, 0) (isNull() returns TRUE).
+Constructs a point with coordinates (0, 0) (isNull() returns true).
.SH "QPoint::QPoint ( int xpos, int ypos )"
Constructs a point with x value \fIxpos\fR and y value \fIypos\fR.
.SH "bool QPoint::isNull () const"
-Returns TRUE if both the x value and the y value are 0; otherwise returns FALSE.
+Returns true if both the x value and the y value are 0; otherwise returns false.
.SH "int QPoint::manhattanLength () const"
Returns the sum of the absolute values of x() and y(), traditionally known as the "Manhattan length" of the vector from the origin to the point. The tradition arises because such distances apply to travelers who can only travel on a rectangular grid, like the streets of Manhattan.
.PP
@@ -305,7 +305,7 @@ Examples:
.)l canvas/canvas.cpp, chart/canvasview.cpp, fileiconview/qfileiconview.cpp, helpsystem/tooltip.cpp, life/life.cpp, t14/cannon.cpp, and themes/wood.cpp.
.SH RELATED FUNCTION DOCUMENTATION
.SH "bool operator!= ( const QPoint & p1, const QPoint & p2 )"
-Returns TRUE if \fIp1\fR and \fIp2\fR are not equal; otherwise returns FALSE.
+Returns true if \fIp1\fR and \fIp2\fR are not equal; otherwise returns false.
.SH "const QPoint operator* ( const QPoint & p, int c )"
Returns the QPoint formed by multiplying both components of \fIp\fR by \fIc\fR.
.SH "const QPoint operator* ( int c, const QPoint & p )"
@@ -345,7 +345,7 @@ Writes point \fIp\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 QPoint & p1, const QPoint & p2 )"
-Returns TRUE if \fIp1\fR and \fIp2\fR are equal; otherwise returns FALSE.
+Returns true if \fIp1\fR and \fIp2\fR are equal; otherwise returns false.
.SH "QDataStream & operator>> ( QDataStream & s, QPoint & p )"
Reads a QPoint from the stream \fIs\fR into point \fIp\fR and returns a reference to the stream.
.PP