diff options
Diffstat (limited to 'doc/man/man3/tqradiobutton.3qt')
-rw-r--r-- | doc/man/man3/tqradiobutton.3qt | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/doc/man/man3/tqradiobutton.3qt b/doc/man/man3/tqradiobutton.3qt index e7d50575d..bd0c806b6 100644 --- a/doc/man/man3/tqradiobutton.3qt +++ b/doc/man/man3/tqradiobutton.3qt @@ -11,7 +11,7 @@ TQRadioButton \- Radio button with a text or pixmap label .SH SYNOPSIS \fC#include <tqradiobutton.h>\fR .PP -Inherits QButton. +Inherits TQButton. .PP .SS "Public Members" .in +1c @@ -76,7 +76,7 @@ Inherits QButton. .BI "bool \fBisExclusiveToggle\fR () const" .br .ti -1c -.BI "QButtonGroup * \fBgroup\fR () const" +.BI "TQButtonGroup * \fBgroup\fR () const" .br .ti -1c .BI "void \fBtoggle\fR ()" @@ -111,7 +111,7 @@ The TQRadioButton widget provides a radio button with a text or pixmap label. .PP TQRadioButton and TQCheckBox are both option buttons. That is, they can be switched on (checked) or off (unchecked). The classes differ in how the choices for the user are restricted. Check boxes define "many of many" choices, whereas radio buttons provide a" one of many" choice. In a group of radio buttons only one radio button at a time can be checked; if the user selects another button, the previously selected button is switched off. .PP -The easiest way to implement a "one of many" choice is simply to put the radio buttons into QButtonGroup. +The easiest way to implement a "one of many" choice is simply to put the radio buttons into TQButtonGroup. .PP Whenever a button is switched on or off it emits the signal toggled(). Connect to this signal if you want to trigger an action each time the button changes state. Otherwise, use isChecked() to see if a particular button is selected. .PP @@ -134,14 +134,14 @@ The \fIparent\fR and \fIname\fR arguments are sent on to the TQWidget constructo Constructs a radio button with the text \fItext\fR. .PP The \fIparent\fR and \fIname\fR arguments are sent on to the TQWidget constructor. -.SH "QKeySequence QButton::accel () const" +.SH "QKeySequence TQButton::accel () const" Returns the accelerator associated with the button. See the "accel" property for details. -.SH "bool QButton::autoRepeat () const" +.SH "bool TQButton::autoRepeat () const" Returns TRUE if autoRepeat is enabled; otherwise returns FALSE. See the "autoRepeat" property for details. -.SH "void QButton::clicked ()\fC [signal]\fR" +.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 -The QButtonGroup::clicked() signal does the same job, if you want to connect several buttons to the same slot. +The TQButtonGroup::clicked() signal does the same job, if you want to connect several buttons to the same slot. .PP \fBWarning:\fR Don't launch a model dialog in response to this signal for a button that has autoRepeat turned on. .PP @@ -149,62 +149,62 @@ See also pressed(), released(), toggled(), autoRepeat, and down. .PP Examples: .)l chart/setdataform.cpp, listbox/listbox.cpp, network/clientserver/client/client.cpp, progressbar/progressbar.cpp, richtext/richtext.cpp, t2/main.cpp, and t4/main.cpp. -.SH "QButtonGroup * QButton::group () const" +.SH "TQButtonGroup * TQButton::group () const" Returns the group that this button belongs to. .PP -If the button is not a member of any QButtonGroup, this function returns 0. +If the button is not a member of any TQButtonGroup, this function returns 0. .PP -See also QButtonGroup. +See also TQButtonGroup. .SH "bool TQRadioButton::isChecked () const" Returns TRUE if the radio button is checked; otherwise returns FALSE. See the "checked" property for details. -.SH "bool QButton::isDown () const" +.SH "bool TQButton::isDown () const" Returns TRUE if the button is pressed; otherwise returns FALSE. See the "down" property for details. -.SH "bool QButton::isExclusiveToggle () const" +.SH "bool TQButton::isExclusiveToggle () const" Returns TRUE if the button is an exclusive toggle; otherwise returns FALSE. See the "exclusiveToggle" property for details. -.SH "bool QButton::isOn () const" +.SH "bool TQButton::isOn () const" Returns TRUE if the button is toggled; otherwise returns FALSE. See the "on" property for details. -.SH "bool QButton::isToggleButton () const" +.SH "bool TQButton::isToggleButton () const" Returns TRUE if the button is a toggle button; otherwise returns FALSE. See the "toggleButton" property for details. -.SH "const TQPixmap * QButton::pixmap () const" +.SH "const TQPixmap * TQButton::pixmap () const" Returns the pixmap shown on the button. See the "pixmap" property for details. -.SH "void QButton::pressed ()\fC [signal]\fR" +.SH "void TQButton::pressed ()\fC [signal]\fR" This signal is emitted when the button is pressed down. .PP See also released() and clicked(). .PP Examples: .)l network/httpd/httpd.cpp and popup/popup.cpp. -.SH "void QButton::released ()\fC [signal]\fR" +.SH "void TQButton::released ()\fC [signal]\fR" This signal is emitted when the button is released. .PP See also pressed(), clicked(), and toggled(). -.SH "void QButton::setAccel ( const QKeySequence & )\fC [virtual]\fR" +.SH "void TQButton::setAccel ( const QKeySequence & )\fC [virtual]\fR" Sets the accelerator associated with the button. See the "accel" property for details. -.SH "void QButton::setAutoRepeat ( bool )\fC [virtual]\fR" +.SH "void TQButton::setAutoRepeat ( bool )\fC [virtual]\fR" Sets whether autoRepeat is enabled. See the "autoRepeat" property for details. .SH "void TQRadioButton::setChecked ( bool check )\fC [virtual slot]\fR" Sets whether the radio button is checked to \fIcheck\fR. See the "checked" property for details. -.SH "void QButton::setDown ( bool )\fC [virtual]\fR" +.SH "void TQButton::setDown ( bool )\fC [virtual]\fR" Sets whether the button is pressed. See the "down" property for details. -.SH "void QButton::setPixmap ( const TQPixmap & )\fC [virtual]\fR" +.SH "void TQButton::setPixmap ( const TQPixmap & )\fC [virtual]\fR" Sets the pixmap shown on the button. See the "pixmap" property for details. -.SH "void QButton::setText ( const TQString & )\fC [virtual]\fR" +.SH "void TQButton::setText ( const TQString & )\fC [virtual]\fR" Sets the text shown on the button. See the "text" property for details. -.SH "ToggleState QButton::state () const" +.SH "ToggleState TQButton::state () const" Returns the state of the toggle button. See the "toggleState" property for details. -.SH "void QButton::stateChanged ( int state )\fC [signal]\fR" +.SH "void TQButton::stateChanged ( int state )\fC [signal]\fR" This signal is emitted whenever a toggle button changes state. \fIstate\fR is On if the button is on, NoChange if it is in the" no change" state or Off if the button is off. .PP This may be the result of a user action, toggle() slot activation, setState(), or because setOn() was called. .PP -See also clicked() and QButton::ToggleState. -.SH "TQString QButton::text () const" +See also clicked() and TQButton::ToggleState. +.SH "TQString TQButton::text () const" Returns the text shown on the button. See the "text" property for details. -.SH "void QButton::toggle ()\fC [slot]\fR" +.SH "void TQButton::toggle ()\fC [slot]\fR" Toggles the state of a toggle button. .PP See also on, setOn(), toggled(), and toggleButton. -.SH "void QButton::toggled ( bool on )\fC [signal]\fR" +.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. .PP This may be the result of a user action, toggle() slot activation, or because setOn() was called. @@ -232,7 +232,7 @@ Set this property's value with setAutoRepeat() and get this property's value wit .SH "bool checked" This property holds whether the radio button is checked. .PP -This property will not effect any other radio buttons unless they have been placed in the same QButtonGroup. The default value is FALSE (unchecked). +This property will not effect any other radio buttons unless they have been placed in the same TQButtonGroup. The default value is FALSE (unchecked). .PP Set this property's value with setChecked() and get this property's value with isChecked(). .SH "TQPixmap pixmap" |