summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqmenudata.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/tqmenudata.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/tqmenudata.3qt')
-rw-r--r--doc/man/man3/tqmenudata.3qt14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/man/man3/tqmenudata.3qt b/doc/man/man3/tqmenudata.3qt
index cbc1f5277..0a814d21d 100644
--- a/doc/man/man3/tqmenudata.3qt
+++ b/doc/man/man3/tqmenudata.3qt
@@ -536,20 +536,20 @@ In a popup menu a separator is rendered as a horizontal line. In a Motif menu ba
Examples:
.)l addressbook/mainwindow.cpp, menu/menu.cpp, progress/progress.cpp, qwerty/qwerty.cpp, scrollview/scrollview.cpp, showimg/showimg.cpp, and sound/sound.cpp.
.SH "bool QMenuData::isItemActive ( int id ) const"
-Returns TRUE if the menu item with the id \fIid\fR is currently active; otherwise returns FALSE.
+Returns true if the menu item with the id \fIid\fR is currently active; otherwise returns false.
.SH "bool QMenuData::isItemChecked ( int id ) const"
-Returns TRUE if the menu item with the id \fIid\fR has been checked; otherwise returns FALSE.
+Returns true if the menu item with the id \fIid\fR has been checked; otherwise returns false.
.PP
See also setItemChecked().
.PP
Examples:
.)l canvas/canvas.cpp, progress/progress.cpp, and showimg/showimg.cpp.
.SH "bool QMenuData::isItemEnabled ( int id ) const"
-Returns TRUE if the item with identifier \fIid\fR is enabled; otherwise returns FALSE
+Returns true if the item with identifier \fIid\fR is enabled; otherwise returns false
.PP
See also setItemEnabled() and isItemVisible().
.SH "bool QMenuData::isItemVisible ( int id ) const"
-Returns TRUE if the menu item with the id \fIid\fR is visible; otherwise returns FALSE.
+Returns true if the menu item with the id \fIid\fR is visible; otherwise returns false.
.PP
See also setItemVisible().
.SH "int QMenuData::itemParameter ( int id ) const"
@@ -633,14 +633,14 @@ If \fIindex\fR is out of range, the operation is ignored.
.PP
See also idAt().
.SH "void QMenuData::setItemChecked ( int id, bool check )"
-If \fIcheck\fR is TRUE, checks the menu item with id \fIid\fR; otherwise unchecks the menu item with id \fIid\fR. Calls QPopupMenu::setCheckable( TRUE ) if necessary.
+If \fIcheck\fR is true, checks the menu item with id \fIid\fR; otherwise unchecks the menu item with id \fIid\fR. Calls QPopupMenu::setCheckable( true ) if necessary.
.PP
See also isItemChecked().
.PP
Examples:
.)l canvas/canvas.cpp, grapher/grapher.cpp, mdi/application.cpp, menu/menu.cpp, progress/progress.cpp, scrollview/scrollview.cpp, and showimg/showimg.cpp.
.SH "void QMenuData::setItemEnabled ( int id, bool enable )"
-If \fIenable\fR is TRUE, enables the menu item with identifier \fIid\fR; otherwise disables the menu item with identifier \fIid\fR.
+If \fIenable\fR is true, enables the menu item with identifier \fIid\fR; otherwise disables the menu item with identifier \fIid\fR.
.PP
See also isItemEnabled().
.PP
@@ -655,7 +655,7 @@ See also connectItem(), disconnectItem(), and itemParameter().
.PP
Example: mdi/application.cpp.
.SH "void QMenuData::setItemVisible ( int id, bool visible )"
-If \fIvisible\fR is TRUE, shows the menu item with id \fIid\fR; otherwise hides the menu item with id \fIid\fR.
+If \fIvisible\fR is true, shows the menu item with id \fIid\fR; otherwise hides the menu item with id \fIid\fR.
.PP
See also isItemVisible() and isItemEnabled().
.SH "void QMenuData::setWhatsThis ( int id, const TQString & text )"