diff options
Diffstat (limited to 'doc/man/man3/tqbutton.3qt')
-rw-r--r-- | doc/man/man3/tqbutton.3qt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/man/man3/tqbutton.3qt b/doc/man/man3/tqbutton.3qt index 15a644e08..a23a86510 100644 --- a/doc/man/man3/tqbutton.3qt +++ b/doc/man/man3/tqbutton.3qt @@ -188,7 +188,7 @@ setAutoRepeat() sets whether the button will auto-repeat if the user holds it do .TP setToggleButton() sets whether the button is a toggle button or not. .PP -The difference between isDown() and isOn() is as follows: When the user clicks a toggle button to toggle it on, the button is first \fIpressed\fR and then released into the \fIon\fR state. When the user clicks it again (to toggle it off), the button moves first to the \fIpressed\fR state, then to the \fIoff\fR state (isOn() and isDown() are both FALSE). +The difference between isDown() and isOn() is as follows: When the user clicks a toggle button to toggle it on, the button is first \fIpressed\fR and then released into the \fIon\fR state. When the user clicks it again (to toggle it off), the button moves first to the \fIpressed\fR state, then to the \fIoff\fR state (isOn() and isDown() are both false). .PP Default buttons (as used in many dialogs) are provided by TQPushButton::setDefault() and TQPushButton::setAutoDefault(). .PP @@ -266,7 +266,7 @@ This function does nothing if the button is disabled. .PP See also accel. .SH "bool TQButton::autoRepeat () const" -Returns TRUE if autoRepeat is enabled; otherwise returns FALSE. See the "autoRepeat" property for details. +Returns true if autoRepeat is enabled; otherwise returns false. See the "autoRepeat" property for details. .SH "void TQButton::clicked ()\fC [signal]\fR" This signal is emitted when the button is activated (i.e. first pressed down and then released when the mouse cursor is inside the button), when the accelerator key is typed or when animateClick() is called. This signal is \fInot\fR emitted if you call setDown(). .PP @@ -297,17 +297,17 @@ If the button is not a member of any TQButtonGroup, this function returns 0. .PP See also TQButtonGroup. .SH "bool TQButton::hitButton ( const TQPoint & pos ) const\fC [virtual protected]\fR" -Returns TRUE if \fIpos\fR is inside the clickable button rectangle; otherwise returns FALSE. +Returns true if \fIpos\fR is inside the clickable button rectangle; otherwise returns false. .PP By default, the clickable area is the entire widget. Subclasses may reimplement it, though. .SH "bool TQButton::isDown () const" -Returns TRUE if the button is pressed; otherwise returns FALSE. See the "down" property for details. +Returns true if the button is pressed; otherwise returns false. See the "down" property for details. .SH "bool TQButton::isExclusiveToggle () const" -Returns TRUE if the button is an exclusive toggle; otherwise returns FALSE. See the "exclusiveToggle" property for details. +Returns true if the button is an exclusive toggle; otherwise returns false. See the "exclusiveToggle" property for details. .SH "bool TQButton::isOn () const" -Returns TRUE if the button is toggled; otherwise returns FALSE. See the "on" property for details. +Returns true if the button is toggled; otherwise returns false. See the "on" property for details. .SH "bool TQButton::isToggleButton () const" -Returns TRUE if the button is a toggle button; otherwise returns FALSE. See the "toggleButton" property for details. +Returns true if the button is a toggle button; otherwise returns false. See the "toggleButton" property for details. .SH "void TQButton::paintEvent ( TQPaintEvent * )\fC [virtual protected]\fR" Handles paint events for buttons. Small and typically complex buttons are painted double-buffered to reduce flicker. The actually drawing is done in the virtual functions drawButton() and drawButtonLabel(). .PP @@ -334,7 +334,7 @@ Sets whether autoRepeat is enabled. See the "autoRepeat" property for details. .SH "void TQButton::setDown ( bool )\fC [virtual]\fR" Sets whether the button is pressed. See the "down" property for details. .SH "void TQButton::setOn ( bool on )\fC [protected]\fR" -Sets the state of this button to On if \fIon\fR is TRUE; otherwise to Off. +Sets the state of this button to On if \fIon\fR is true; otherwise to Off. .PP See also toggleState. .SH "void TQButton::setPixmap ( const TQPixmap & )\fC [virtual]\fR" @@ -344,7 +344,7 @@ Sets the toggle state of the button to \fIs\fR. \fIs\fR can be Off, NoChange or .SH "void TQButton::setText ( const TQString & )\fC [virtual]\fR" Sets the text shown on the button. See the "text" property for details. .SH "void TQButton::setToggleButton ( bool b )\fC [protected]\fR" -If \fIb\fR is TRUE, this button becomes a toggle button; if \fIb\fR is FALSE, this button becomes a command button. +If \fIb\fR is true, this button becomes a toggle button; if \fIb\fR is false, this button becomes a command button. .PP See also toggleButton. .SH "void TQButton::setToggleType ( ToggleType type )\fC [virtual protected]\fR" @@ -368,7 +368,7 @@ See also on, setOn(), toggled(), and toggleButton. .SH "ToggleType TQButton::toggleType () const" Returns the type of toggle on the button. See the "toggleType" property for details. .SH "void TQButton::toggled ( bool on )\fC [signal]\fR" -This signal is emitted whenever a toggle button changes status. \fIon\fR is TRUE if the button is on, or FALSE if the button is off. +This signal is emitted whenever a toggle button changes status. \fIon\fR is true if the button is on, or false if the button is off. .PP This may be the result of a user action, toggle() slot activation, or because setOn() was called. .PP @@ -391,13 +391,13 @@ Set this property's value with setAutoRepeat() and get this property's value wit .SH "bool down" This property holds whether the button is pressed. .PP -If this property is TRUE, the button is pressed down. The signals pressed() and clicked() are not emitted if you set this property to TRUE. The default is FALSE. +If this property is true, the button is pressed down. The signals pressed() and clicked() are not emitted if you set this property to true. The default is false. .PP Set this property's value with setDown() and get this property's value with isDown(). .SH "bool exclusiveToggle" This property holds whether the button is an exclusive toggle. .PP -If this property is TRUE and the button is in a TQButtonGroup, the button can only be toggled off by another one being toggled on. The default is FALSE. +If this property is true and the button is in a TQButtonGroup, the button can only be toggled off by another one being toggled on. The default is false. .PP Get this property's value with isExclusiveToggle(). .SH "bool on" @@ -425,7 +425,7 @@ Set this property's value with setText() and get this property's value with text .SH "bool toggleButton" This property holds whether the button is a toggle button. .PP -The default value is FALSE. +The default value is false. .PP Get this property's value with isToggleButton(). .SH "ToggleState toggleState" |