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/tqtoolbutton.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'doc/html/tqtoolbutton.html') diff --git a/doc/html/tqtoolbutton.html b/doc/html/tqtoolbutton.html index 52d5e96f7..d7f2a80ac 100644 --- a/doc/html/tqtoolbutton.html +++ b/doc/html/tqtoolbutton.html @@ -114,7 +114,7 @@ auto-raised because the mouse pointer is hovering over it. TQMainWindow's settings (see TQMainWindow::setUsesTextLabel() and TQMainWindow::setUsesBigPixmaps()). The pixmap set on a TQToolButton will be set to 22x22 if it is bigger than this size. If -usesBigPixmap() is TRUE, then the pixmap will be set to 32x32. +usesBigPixmap() is true, then the pixmap will be set to 32x32.

A tool button can offer additional choices in a popup menu. The feature is sometimes used with the "Back" button in a web browser. After pressing and holding the button down for a while, a menu @@ -157,7 +157,7 @@ constructor. Destroys the object and frees any allocated resources.

bool TQToolButton::autoRaise () const -

Returns TRUE if auto-raising is enabled; otherwise returns FALSE. +

Returns true if auto-raising is enabled; otherwise returns false. See the "autoRaise" property for details.

TQIconSet TQToolButton::iconSet () const

Returns the icon set providing the icon shown on the button. @@ -210,7 +210,7 @@ See the "textLabel" property for This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Sets the label of this button to newLabel and automatically -sets it as a tool tip if tipToo is TRUE. +sets it as a tool tip if tipToo is true.

void TQToolButton::setTextPosition ( TextPosition pos ) [slot]

Sets the position of the text label of this button to pos. @@ -239,20 +239,20 @@ Toggles the state of this tool button.

bool TQToolButton::uses3D () const [protected]

-Returns TRUE if this button should be drawn using raised edges; -otherwise returns FALSE. +Returns true if this button should be drawn using raised edges; +otherwise returns false.

See also drawButton().

bool TQToolButton::usesBigPixmap () const -

Returns TRUE if this toolbutton uses big pixmaps; otherwise returns FALSE. +

Returns true if this toolbutton uses big pixmaps; otherwise returns false. See the "usesBigPixmap" property for details.

bool TQToolButton::usesTextLabel () const -

Returns TRUE if the toolbutton displays a text label below the button pixmap; otherwise returns FALSE. +

Returns true if the toolbutton displays a text label below the button pixmap; otherwise returns false. See the "usesTextLabel" property for details.


Property Documentation

bool autoRaise

This property holds whether auto-raising is enabled. -

The default is disabled (i.e. FALSE). +

The default is disabled (i.e. false).

Set this property's value with setAutoRaise() and get this property's value with autoRaise().

BackgroundMode backgroundMode

@@ -270,7 +270,7 @@ pixmap. There is no default iconset.

bool on

This property holds whether this tool button is on.

This property has no effect on non-toggling - buttons. The default is FALSE (i.e. off). + buttons. The default is false (i.e. off).

See also toggleButton and toggle().

Set this property's value with setOn(). @@ -308,7 +308,7 @@ default.

TQToolButton automatically connects this property to the relevant signal in the TQMainWindow in which it resides. We strongly recommend that you use TQMainWindow::setUsesBigPixmaps() instead. -

This property's default is TRUE. +

This property's default is true.

Warning: If you set some buttons (in a TQMainWindow) to have big pixmaps and others to have small pixmaps, TQMainWindow may not get the geometry right. @@ -316,7 +316,7 @@ the geometry right.

Set this property's value with setUsesBigPixmap() and get this property's value with usesBigPixmap().

bool usesTextLabel

This property holds whether the toolbutton displays a text label below the button pixmap. -

The default is FALSE. +

The default is false.

TQToolButton automatically connects this slot to the relevant signal in the TQMainWindow in which is resides. -- cgit v1.2.3