summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqtoolbutton.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-26 11:44:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-30 14:26:34 +0900
commit6dd781c483eea56f51ae0eff47d857976b5d0f0d (patch)
tree0ddd4408e142ae6f8b13d3538359abd127988b2f /doc/man/man3/tqtoolbutton.3qt
parentff56b6fec14de4cd4b89d5b322531671d200b6e0 (diff)
downloadtqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.tar.gz
tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.zip
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqtoolbutton.3qt')
-rw-r--r--doc/man/man3/tqtoolbutton.3qt20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/man/man3/tqtoolbutton.3qt b/doc/man/man3/tqtoolbutton.3qt
index 0d576882f..072ffd3bb 100644
--- a/doc/man/man3/tqtoolbutton.3qt
+++ b/doc/man/man3/tqtoolbutton.3qt
@@ -148,7 +148,7 @@ TQToolButton supports auto-raising. In auto-raise mode, the button draws a 3D fr
.PP
A tool button's icon is set as TQIconSet. This makes it possible to specify different pixmaps for the disabled and active state. The disabled pixmap is used when the button's functionality is not available. The active pixmap is displayed when the button is auto-raised because the mouse pointer is hovering over it.
.PP
-The button's look and dimension is adjustable with setUsesBigPixmap() and setUsesTextLabel(). When used inside a TQToolBar in a TQMainWindow, the button automatically adjusts to 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.
+The button's look and dimension is adjustable with setUsesBigPixmap() and setUsesTextLabel(). When used inside a TQToolBar in a TQMainWindow, the button automatically adjusts to 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.
.PP
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 pops up showing a list of possible pages to jump to. With TQToolButton you can set a popup menu using setPopup(). The default delay is 600ms; you can adjust it with setPopupDelay().
.PP
@@ -182,7 +182,7 @@ The \fIparent\fR and \fIname\fR arguments are sent to the TQWidget constructor.
.SH "TQToolButton::~TQToolButton ()"
Destroys the object and frees any allocated resources.
.SH "bool TQToolButton::autoRaise () const"
-Returns TRUE if auto-raising is enabled; otherwise returns FALSE. See the "autoRaise" property for details.
+Returns true if auto-raising is enabled; otherwise returns false. See the "autoRaise" property for details.
.SH "TQIconSet TQToolButton::iconSet () const"
Returns the icon set providing the icon shown on the button. See the "iconSet" property for details.
.SH "void TQToolButton::openPopup ()"
@@ -214,7 +214,7 @@ Sets the label of this button. See the "textLabel" property for details.
.SH "void TQToolButton::setTextLabel ( const TQString & newLabel, bool tipToo )\fC [virtual slot]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-Sets the label of this button to \fInewLabel\fR and automatically sets it as a tool tip if \fItipToo\fR is TRUE.
+Sets the label of this button to \fInewLabel\fR and automatically sets it as a tool tip if \fItipToo\fR is true.
.SH "void TQToolButton::setTextPosition ( TextPosition pos )\fC [slot]\fR"
Sets the position of the text label of this button to \fIpos\fR. See the "textPosition" property for details.
.SH "void TQToolButton::setToggleButton ( bool enable )\fC [virtual slot]\fR"
@@ -234,18 +234,18 @@ This function has no effect on non-toggling buttons.
.PP
See also toggleButton and toggled().
.SH "bool TQToolButton::uses3D () const\fC [protected]\fR"
-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.
.PP
See also drawButton().
.SH "bool TQToolButton::usesBigPixmap () const"
-Returns TRUE if this toolbutton uses big pixmaps; otherwise returns FALSE. See the "usesBigPixmap" property for details.
+Returns true if this toolbutton uses big pixmaps; otherwise returns false. See the "usesBigPixmap" property for details.
.SH "bool TQToolButton::usesTextLabel () const"
-Returns TRUE if the toolbutton displays a text label below the button pixmap; otherwise returns FALSE. See the "usesTextLabel" property for details.
+Returns true if the toolbutton displays a text label below the button pixmap; otherwise returns false. See the "usesTextLabel" property for details.
.SS "Property Documentation"
.SH "bool autoRaise"
This property holds whether auto-raising is enabled.
.PP
-The default is disabled (i.e. FALSE).
+The default is disabled (i.e. false).
.PP
Set this property's value with setAutoRaise() and get this property's value with autoRaise().
.SH "BackgroundMode backgroundMode"
@@ -265,7 +265,7 @@ Set this property's value with setIconSet() and get this property's value with i
.SH "bool on"
This property holds whether this tool button is on.
.PP
-This property has no effect on non-toggling buttons. The default is FALSE (i.e. off).
+This property has no effect on non-toggling buttons. The default is false (i.e. off).
.PP
See also toggleButton and toggle().
.PP
@@ -305,7 +305,7 @@ This property holds whether this toolbutton uses big pixmaps.
.PP
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.
.PP
-This property's default is TRUE.
+This property's default is true.
.PP
\fBWarning:\fR 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.
.PP
@@ -313,7 +313,7 @@ Set this property's value with setUsesBigPixmap() and get this property's value
.SH "bool usesTextLabel"
This property holds whether the toolbutton displays a text label below the button pixmap.
.PP
-The default is FALSE.
+The default is false.
.PP
TQToolButton automatically connects this slot to the relevant signal in the TQMainWindow in which is resides.
.PP