@ -80,7 +78,6 @@ widgets, providing functionality common to buttons.
<ul>
<ul>
<liclass=fn>TQKeySequence <ahref="#accel-prop"><b>accel</b></a> - the accelerator associated with the button</li>
<liclass=fn>TQKeySequence <ahref="#accel-prop"><b>accel</b></a> - the accelerator associated with the button</li>
<liclass=fn>bool <ahref="#autoRepeat-prop"><b>autoRepeat</b></a> - whether autoRepeat is enabled</li>
<liclass=fn>bool <ahref="#autoRepeat-prop"><b>autoRepeat</b></a> - whether autoRepeat is enabled</li>
<liclass=fn>bool autoResize - whether autoResize is enabled <em>(obsolete)</em></li>
<liclass=fn>bool <ahref="#down-prop"><b>down</b></a> - whether the button is pressed</li>
<liclass=fn>bool <ahref="#down-prop"><b>down</b></a> - whether the button is pressed</li>
<liclass=fn>bool <ahref="#exclusiveToggle-prop"><b>exclusiveToggle</b></a> - whether the button is an exclusive toggle <em>(read only)</em></li>
<liclass=fn>bool <ahref="#exclusiveToggle-prop"><b>exclusiveToggle</b></a> - whether the button is an exclusive toggle <em>(read only)</em></li>
<liclass=fn>bool <ahref="#on-prop"><b>on</b></a> - whether the button is toggled <em>(read only)</em></li>
<liclass=fn>bool <ahref="#on-prop"><b>on</b></a> - whether the button is toggled <em>(read only)</em></li>
See the <ahref="ntqbutton.html#down-prop">"down"</a> property for details.
See the <ahref="ntqbutton.html#down-prop">"down"</a> property for details.
@ -402,12 +393,6 @@ regular intervals if the button is down. This property has no
effect on toggle buttons. autoRepeat is off by default.
effect on toggle buttons. autoRepeat is off by default.
<p>Set this property's value with <ahref="#setAutoRepeat">setAutoRepeat</a>() and get this property's value with <ahref="#autoRepeat">autoRepeat</a>().
<p>Set this property's value with <ahref="#setAutoRepeat">setAutoRepeat</a>() and get this property's value with <ahref="#autoRepeat">autoRepeat</a>().
<h3class=fn>bool <aname="autoResize-prop"></a>autoResize</h3><p>This property holds whether autoResize is enabled.
<p><b>This property is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
<p> If autoResize is enabled then the button will resize itself
whenever the contents are changed.
<p>Set this property's value with <ahref="#setAutoResize">setAutoResize</a>() and get this property's value with <ahref="#autoResize">autoResize</a>().
<h3class=fn>bool <aname="down-prop"></a>down</h3>
<h3class=fn>bool <aname="down-prop"></a>down</h3>
<p>This property holds whether the button is pressed.
<p>This property holds whether the button is pressed.
<p>If this property is TRUE, the button is pressed down. The signals
<p>If this property is TRUE, the button is pressed down. The signals
@ -267,16 +267,6 @@ effect on toggle buttons. autoRepeat is off by default.
<p>Set this property's value with <a href="ntqbutton.html#setAutoRepeat">setAutoRepeat</a>() and get this property's value with <a href="ntqbutton.html#autoRepeat">autoRepeat</a>().
<p>Set this property's value with <a href="ntqbutton.html#setAutoRepeat">setAutoRepeat</a>() and get this property's value with <a href="ntqbutton.html#autoRepeat">autoRepeat</a>().
</doc>
</doc>
</property>
</property>
<property>
<name>QButton::autoResize</name>
<doc href="ntqbutton.html#autoResize-prop"> <p>This property holds whether autoResize is enabled.
<p><b>This property is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
<p> If autoResize is enabled then the button will resize itself
whenever the contents are changed.
<p>Set this property's value with <a href="ntqbutton.html#setAutoResize">setAutoResize</a>() and get this property's value with <a href="ntqbutton.html#autoResize">autoResize</a>().
@ -120,9 +114,6 @@ Inherited by QCheckBox, QPushButton, QRadioButton, and QToolButton.
.BI "bool \fBautoRepeat\fR - whether autoRepeat is enabled"
.BI "bool \fBautoRepeat\fR - whether autoRepeat is enabled"
.br
.br
.ti -1c
.ti -1c
.BI "bool autoResize - whether autoResize is enabled \fI(obsolete)\fR"
.br
.ti -1c
.BI "bool \fBdown\fR - whether the button is pressed"
.BI "bool \fBdown\fR - whether the button is pressed"
.br
.br
.ti -1c
.ti -1c
@ -276,8 +267,6 @@ This function does nothing if the button is disabled.
See also accel.
See also accel.
.SH "bool QButton::autoRepeat () const"
.SH "bool QButton::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 "bool QButton::autoResize () const"
Returns TRUE if autoResize is enabled; otherwise returns FALSE. See the "autoResize" property for details.
.SH "void QButton::clicked ()\fC [signal]\fR"
.SH "void QButton::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().
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
.PP
@ -342,8 +331,6 @@ See also pressed(), clicked(), and toggled().
Sets the accelerator associated with the button. See the "accel" property for details.
Sets the accelerator associated with the button. See the "accel" property for details.
Sets whether the button is pressed. See the "down" property for details.
Sets whether the button is pressed. See the "down" property for details.
.SH "void QButton::setOn ( bool on )\fC [protected]\fR"
.SH "void QButton::setOn ( bool on )\fC [protected]\fR"
@ -401,14 +388,6 @@ This property holds whether autoRepeat is enabled.
If autoRepeat is enabled then the clicked() signal is emitted at regular intervals if the button is down. This property has no effect on toggle buttons. autoRepeat is off by default.
If autoRepeat is enabled then the clicked() signal is emitted at regular intervals if the button is down. This property has no effect on toggle buttons. autoRepeat is off by default.
.PP
.PP
Set this property's value with setAutoRepeat() and get this property's value with autoRepeat().
Set this property's value with setAutoRepeat() and get this property's value with autoRepeat().
.SH "bool autoResize"
This property holds whether autoResize is enabled.
.PP
\fBThis property is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
If autoResize is enabled then the button will resize itself whenever the contents are changed.
.PP
Set this property's value with setAutoResize() and get this property's value with autoResize().
.SH "bool down"
.SH "bool down"
This property holds whether the button is pressed.
This property holds whether the button is pressed.