summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqtoolbutton.3qt
diff options
context:
space:
mode:
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 e1bda7811..598850b83 100644
--- a/doc/man/man3/tqtoolbutton.3qt
+++ b/doc/man/man3/tqtoolbutton.3qt
@@ -172,7 +172,7 @@ QToolButton supports auto-raising. In auto-raise mode, the button draws a 3D fra
.PP
A tool button's icon is set as QIconSet. 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 QToolBar in a QMainWindow, the button automatically adjusts to QMainWindow's settings (see QMainWindow::setUsesTextLabel() and QMainWindow::setUsesBigPixmaps()). The pixmap set on a QToolButton 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 QToolBar in a QMainWindow, the button automatically adjusts to QMainWindow's settings (see QMainWindow::setUsesTextLabel() and QMainWindow::setUsesBigPixmaps()). The pixmap set on a QToolButton 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 QToolButton you can set a popup menu using setPopup(). The default delay is 600ms; you can adjust it with setPopupDelay().
.PP
@@ -206,7 +206,7 @@ The \fIparent\fR and \fIname\fR arguments are sent to the TQWidget constructor.
.SH "QToolButton::~QToolButton ()"
Destroys the object and frees any allocated resources.
.SH "bool QToolButton::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 "QIconSet QToolButton::iconSet () const"
Returns the icon set providing the icon shown on the button. See the "iconSet" property for details.
.SH "QIconSet QToolButton::iconSet ( bool on ) const"
@@ -264,7 +264,7 @@ Sets the label of this button. See the "textLabel" property for details.
.SH "void QToolButton::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 QToolButton::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 QToolButton::setToggleButton ( bool enable )\fC [virtual slot]\fR"
@@ -284,18 +284,18 @@ This function has no effect on non-toggling buttons.
.PP
See also toggleButton and toggled().
.SH "bool QToolButton::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 QToolButton::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 QToolButton::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"
@@ -327,7 +327,7 @@ Set this property's value with setOffIconSet() and get this property's value wit
.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
@@ -379,7 +379,7 @@ This property holds whether this toolbutton uses big pixmaps.
.PP
QToolButton automatically connects this property to the relevant signal in the QMainWindow in which it resides. We strongly recommend that you use QMainWindow::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 QMainWindow) to have big pixmaps and others to have small pixmaps, QMainWindow may not get the geometry right.
.PP
@@ -387,7 +387,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
QToolButton automatically connects this slot to the relevant signal in the QMainWindow in which is resides.
.PP