diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
commit | dcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch) | |
tree | d57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqmenudata.html | |
parent | 649c4c61a1f1f479f4532b196f68df476cef2680 (diff) | |
download | tqt-rename/true-false-4.tar.gz tqt-rename/true-false-4.zip |
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqmenudata.html')
-rw-r--r-- | doc/html/tqmenudata.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/tqmenudata.html b/doc/html/tqmenudata.html index e4a5cea88..de8839e84 100644 --- a/doc/html/tqmenudata.html +++ b/doc/html/tqmenudata.html @@ -522,26 +522,26 @@ guidelines). <p>Examples: <a href="addressbook-example.html#x570">addressbook/mainwindow.cpp</a>, <a href="menu-example.html#x1870">menu/menu.cpp</a>, <a href="progress-example.html#x69">progress/progress.cpp</a>, <a href="qwerty-example.html#x372">qwerty/qwerty.cpp</a>, <a href="scrollview-example.html#x635">scrollview/scrollview.cpp</a>, <a href="showimg-example.html#x1328">showimg/showimg.cpp</a>, and <a href="sound-example.html#x2811">sound/sound.cpp</a>. <h3 class=fn>bool <a name="isItemActive"></a>TQMenuData::isItemActive ( int id ) const </h3> -Returns TRUE if the menu item with the id <em>id</em> is currently -active; otherwise returns FALSE. +Returns true if the menu item with the id <em>id</em> is currently +active; otherwise returns false. <h3 class=fn>bool <a name="isItemChecked"></a>TQMenuData::isItemChecked ( int id ) const </h3> -Returns TRUE if the menu item with the id <em>id</em> has been checked; -otherwise returns FALSE. +Returns true if the menu item with the id <em>id</em> has been checked; +otherwise returns false. <p> <p>See also <a href="#setItemChecked">setItemChecked</a>(). <p>Examples: <a href="canvas-example.html#x2938">canvas/canvas.cpp</a>, <a href="progress-example.html#x70">progress/progress.cpp</a>, and <a href="showimg-example.html#x1329">showimg/showimg.cpp</a>. <h3 class=fn>bool <a name="isItemEnabled"></a>TQMenuData::isItemEnabled ( int 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="#setItemEnabled">setItemEnabled</a>() and <a href="#isItemVisible">isItemVisible</a>(). <h3 class=fn>bool <a name="isItemVisible"></a>TQMenuData::isItemVisible ( int 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="#setItemVisible">setItemVisible</a>(). <h3 class=fn>int <a name="itemParameter"></a>TQMenuData::itemParameter ( int id ) const @@ -641,15 +641,15 @@ Sets the <a href="tqmenudata.html#menu-identifier">menu identifier</a> of the it <h3 class=fn>void <a name="setItemChecked"></a>TQMenuData::setItemChecked ( int id, bool check ) </h3> -If <em>check</em> is TRUE, checks the menu item with id <em>id</em>; otherwise +If <em>check</em> is true, checks the menu item with id <em>id</em>; otherwise unchecks the menu item with id <em>id</em>. Calls -<a href="tqpopupmenu.html#setCheckable">TQPopupMenu::setCheckable</a>( TRUE ) if necessary. +<a href="tqpopupmenu.html#setCheckable">TQPopupMenu::setCheckable</a>( true ) if necessary. <p> <p>See also <a href="#isItemChecked">isItemChecked</a>(). <p>Examples: <a href="canvas-example.html#x2939">canvas/canvas.cpp</a>, <a href="mdi-example.html#x2032">mdi/application.cpp</a>, <a href="menu-example.html#x1872">menu/menu.cpp</a>, <a href="progress-example.html#x71">progress/progress.cpp</a>, <a href="scrollview-example.html#x636">scrollview/scrollview.cpp</a>, and <a href="showimg-example.html#x1330">showimg/showimg.cpp</a>. <h3 class=fn>void <a name="setItemEnabled"></a>TQMenuData::setItemEnabled ( int id, bool 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="#isItemEnabled">isItemEnabled</a>(). @@ -663,7 +663,7 @@ Sets the parameter of the activation signal of item <em>id</em> to <em>param</em <p>Example: <a href="mdi-example.html#x2034">mdi/application.cpp</a>. <h3 class=fn>void <a name="setItemVisible"></a>TQMenuData::setItemVisible ( int id, bool 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="#isItemVisible">isItemVisible</a>() and <a href="#isItemEnabled">isItemEnabled</a>(). |