summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqaccel.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/tqaccel.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/tqaccel.3qt')
-rw-r--r--doc/man/man3/tqaccel.3qt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqaccel.3qt b/doc/man/man3/tqaccel.3qt
index 423ecd6da..4091952d0 100644
--- a/doc/man/man3/tqaccel.3qt
+++ b/doc/man/man3/tqaccel.3qt
@@ -224,11 +224,11 @@ If \fIid\fR is negative, then the item will be assigned a unique negative identi
.PP
Example: t14/gamebrd.cpp.
.SH "bool QAccel::isEnabled () const"
-Returns TRUE if the accelerator is enabled; otherwise returns FALSE.
+Returns true if the accelerator is enabled; otherwise returns false.
.PP
See also setEnabled() and isItemEnabled().
.SH "bool QAccel::isItemEnabled ( int id ) const"
-Returns TRUE if the accelerator item with the identifier \fIid\fR is enabled. Returns FALSE if the item is disabled or cannot be found.
+Returns true if the accelerator item with the identifier \fIid\fR is enabled. Returns false if the item is disabled or cannot be found.
.PP
See also setItemEnabled() and isEnabled().
.SH "QKeySequence QAccel::key ( int id )"
@@ -244,13 +244,13 @@ Removes the accelerator item with the identifier \fIid\fR.
.SH "void QAccel::repairEventFilter ()"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. serves no purpose anymore
.SH "void QAccel::setEnabled ( bool enable )"
-Enables the accelerator if \fIenable\fR is TRUE, or disables it if \fIenable\fR is FALSE.
+Enables the accelerator if \fIenable\fR is true, or disables it if \fIenable\fR is false.
.PP
Individual keys can also be enabled or disabled using setItemEnabled(). To work, a key must be an enabled item in an enabled QAccel.
.PP
See also isEnabled() and setItemEnabled().
.SH "void QAccel::setItemEnabled ( int id, bool enable )"
-Enables the accelerator item with the identifier \fIid\fR if \fIenable\fR is TRUE, and disables item \fIid\fR if \fIenable\fR is FALSE.
+Enables the accelerator item with the identifier \fIid\fR if \fIenable\fR is true, and disables item \fIid\fR if \fIenable\fR is false.
.PP
To work, an item must be enabled and be in an enabled QAccel.
.PP