summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqmenudata.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-26 11:44:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-30 14:26:34 +0900
commit6dd781c483eea56f51ae0eff47d857976b5d0f0d (patch)
tree0ddd4408e142ae6f8b13d3538359abd127988b2f /doc/man/man3/tqmenudata.3qt
parentff56b6fec14de4cd4b89d5b322531671d200b6e0 (diff)
downloadtqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.tar.gz
tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.zip
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 7f37b4309..5644eb250 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 TQMenuData::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 TQMenuData::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 TQMenuData::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 TQMenuData::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 TQMenuData::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 TQMenuData::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 TQPopupMenu::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 TQPopupMenu::setCheckable( true ) if necessary.
.PP
See also isItemChecked().
.PP
Examples:
.)l canvas/canvas.cpp, mdi/application.cpp, menu/menu.cpp, progress/progress.cpp, scrollview/scrollview.cpp, and showimg/showimg.cpp.
.SH "void TQMenuData::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 TQMenuData::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 TQMenuData::setWhatsThis ( int id, const TQString & text )"