summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqmenubar.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
commitb87533f9904c10f24d6b2e8177c00944e3efe15b (patch)
treec1106a381c851b51e86004698457aef1211b77be /doc/html/ntqmenubar.html
parent894037c3e68e1573a34183d936171f8cda5085f3 (diff)
downloadtqt-r14.1.x.tar.gz
tqt-r14.1.x.zip
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175 Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqmenubar.html')
-rw-r--r--doc/html/ntqmenubar.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/ntqmenubar.html b/doc/html/ntqmenubar.html
index 143a14a90..e6698b03b 100644
--- a/doc/html/ntqmenubar.html
+++ b/doc/html/ntqmenubar.html
@@ -502,14 +502,14 @@ guidelines).
See the <a href="ntqmenubar.html#defaultUp-prop">"defaultUp"</a> property for details.
<h3 class=fn>bool <a name="isItemEnabled"></a>TQMenuData::isItemEnabled ( int&nbsp;id ) const
</h3>
-Returns TRUE if the item with identifier <em>id</em> is enabled;
-otherwise returns FALSE
+Returns true if the item with identifier <em>id</em> is enabled;
+otherwise returns false
<p> <p>See also <a href="ntqmenudata.html#setItemEnabled">setItemEnabled</a>() and <a href="ntqmenudata.html#isItemVisible">isItemVisible</a>().
<h3 class=fn>bool <a name="isItemVisible"></a>TQMenuData::isItemVisible ( int&nbsp;id ) const
</h3>
-Returns TRUE if the menu item with the id <em>id</em> is visible;
-otherwise returns FALSE.
+Returns true if the menu item with the id <em>id</em> is visible;
+otherwise returns false.
<p> <p>See also <a href="ntqmenudata.html#setItemVisible">setItemVisible</a>().
<h3 class=fn>void <a name="menuContentsChanged"></a>TQMenuBar::menuContentsChanged ()<tt> [virtual protected]</tt>
@@ -542,14 +542,14 @@ See the <a href="ntqmenubar.html#separator-prop">"separator"</a> property for de
See the <a href="ntqmenubar.html#defaultUp-prop">"defaultUp"</a> property for details.
<h3 class=fn>void <a name="setItemEnabled"></a>TQMenuData::setItemEnabled ( int&nbsp;id, bool&nbsp;enable )
</h3>
-If <em>enable</em> is TRUE, enables the menu item with identifier <em>id</em>;
+If <em>enable</em> is true, enables the menu item with identifier <em>id</em>;
otherwise disables the menu item with identifier <em>id</em>.
<p> <p>See also <a href="ntqmenudata.html#isItemEnabled">isItemEnabled</a>().
<p>Examples: <a href="mdi-example.html#x2033">mdi/application.cpp</a>, <a href="menu-example.html#x1873">menu/menu.cpp</a>, <a href="progress-example.html#x72">progress/progress.cpp</a>, and <a href="showimg-example.html#x1331">showimg/showimg.cpp</a>.
<h3 class=fn>void <a name="setItemVisible"></a>TQMenuData::setItemVisible ( int&nbsp;id, bool&nbsp;visible )
</h3>
-If <em>visible</em> is TRUE, shows the menu item with id <em>id</em>; otherwise
+If <em>visible</em> is true, shows the menu item with id <em>id</em>; otherwise
hides the menu item with id <em>id</em>.
<p> <p>See also <a href="ntqmenudata.html#isItemVisible">isItemVisible</a>() and <a href="ntqmenudata.html#isItemEnabled">isItemEnabled</a>().
@@ -568,7 +568,7 @@ stack.
<h3 class=fn>bool <a name="defaultUp-prop"></a>defaultUp</h3>
<p>This property holds the popup orientation.
<p>The default popup orientation. By default, menus pop "down" the
-screen. By setting the property to TRUE, the menu will pop "up".
+screen. By setting the property to true, the menu will pop "up".
You might call this for menus that are <em>below</em> the document to
which they refer.
<p> If the menu would not fit on the screen, the other direction is