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/tqmenudata.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'doc/html/tqmenudata.html') 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).

Examples: addressbook/mainwindow.cpp, menu/menu.cpp, progress/progress.cpp, qwerty/qwerty.cpp, scrollview/scrollview.cpp, showimg/showimg.cpp, and sound/sound.cpp.

bool TQMenuData::isItemActive ( int id ) const

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

bool TQMenuData::isItemChecked ( int id ) const

-Returns TRUE if the menu item with the id id has been checked; -otherwise returns FALSE. +Returns true if the menu item with the id id has been checked; +otherwise returns false.

See also setItemChecked().

Examples: canvas/canvas.cpp, progress/progress.cpp, and showimg/showimg.cpp.

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().

int TQMenuData::itemParameter ( int id ) const @@ -641,15 +641,15 @@ Sets the menu identifier of the it

void TQMenuData::setItemChecked ( int id, bool check )

-If check is TRUE, checks the menu item with id id; otherwise +If check is true, checks the menu item with id id; otherwise unchecks the menu item with id id. Calls -TQPopupMenu::setCheckable( TRUE ) if necessary. +TQPopupMenu::setCheckable( true ) if necessary.

See also isItemChecked().

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

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(). @@ -663,7 +663,7 @@ Sets the parameter of the activation signal of item id to paramExample: mdi/application.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(). -- cgit v1.2.3