From 4d495175043c399fdca6e1bb4c74ef176fc76fb4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Aug 2025 11:29:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Signed-off-by: Michele Calgaro --- doc/html/tqmenubar.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/html/tqmenubar.html') diff --git a/doc/html/tqmenubar.html b/doc/html/tqmenubar.html index 2f92f5c2b..56cb47d10 100644 --- a/doc/html/tqmenubar.html +++ b/doc/html/tqmenubar.html @@ -500,14 +500,14 @@ guidelines). See the "defaultUp" property for details.

bool TQMenuData::isItemEnabled ( int id ) const

-Returns TRUE if the item with identifier id is enabled; -otherwise returns FALSE +Returns true if the item with identifier id is enabled; +otherwise returns false

See also setItemEnabled() and isItemVisible().

bool TQMenuData::isItemVisible ( int id ) const

-Returns TRUE if the menu item with the id id is visible; -otherwise returns FALSE. +Returns true if the menu item with the id id is visible; +otherwise returns false.

See also setItemVisible().

void TQMenuBar::menuContentsChanged () [virtual protected] @@ -540,14 +540,14 @@ See the "separator" property for det See the "defaultUp" property for details.

void TQMenuData::setItemEnabled ( int id, bool enable )

-If enable is TRUE, enables the menu item with identifier id; +If enable is true, enables the menu item with identifier id; otherwise disables the menu item with identifier id.

See also isItemEnabled().

Examples: mdi/application.cpp, menu/menu.cpp, progress/progress.cpp, and showimg/showimg.cpp.

void TQMenuData::setItemVisible ( int id, bool visible )

-If visible is TRUE, shows the menu item with id id; otherwise +If visible is true, shows the menu item with id id; otherwise hides the menu item with id id.

See also isItemVisible() and isItemEnabled(). @@ -565,7 +565,7 @@ stack.

bool defaultUp

This property holds the popup orientation.

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 below the document to which they refer.

If the menu would not fit on the screen, the other direction is -- cgit v1.2.3