diff options
Diffstat (limited to 'doc/man/man3/tqcheckbox.3qt')
-rw-r--r-- | doc/man/man3/tqcheckbox.3qt | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/doc/man/man3/tqcheckbox.3qt b/doc/man/man3/tqcheckbox.3qt index 0a964040b..c78f10e0c 100644 --- a/doc/man/man3/tqcheckbox.3qt +++ b/doc/man/man3/tqcheckbox.3qt @@ -11,7 +11,7 @@ TQCheckBox \- Checkbox with a text label .SH SYNOPSIS \fC#include <tqcheckbox.h>\fR .PP -Inherits QButton. +Inherits TQButton. .PP .SS "Public Members" .in +1c @@ -85,7 +85,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 ()" @@ -123,7 +123,7 @@ The TQCheckBox widget provides a checkbox with a text label. .PP TQCheckBox and TQRadioButton 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. Radio buttons define a "one of many" choice, whereas checkboxes provide" many of many" choices. .PP -A QButtonGroup can be used to group check buttons visually. +A TQButtonGroup can be used to group check buttons visually. .PP Whenever a checkbox is checked or cleared it emits the signal toggled(). Connect to this signal if you want to trigger an action each time the checkbox changes state. You can use isChecked() to query whether or not a checkbox is checked. .PP @@ -140,7 +140,7 @@ Just like TQPushButton, a checkbox can display text or a pixmap. The text can be .ce 1 .B "[Image Omitted]" .PP -See also QButton, TQRadioButton, Fowler: Check Box, and Basic Widgets. +See also TQButton, TQRadioButton, Fowler: Check Box, and Basic Widgets. .SH MEMBER FUNCTION DOCUMENTATION .SH "TQCheckBox::TQCheckBox ( TQWidget * parent, const char * name = 0 )" Constructs a checkbox with no text. @@ -150,14 +150,14 @@ The \fIparent\fR and \fIname\fR arguments are sent to the TQWidget constructor. Constructs a checkbox with text \fItext\fR. .PP The \fIparent\fR and \fIname\fR arguments are sent 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 @@ -165,70 +165,70 @@ 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 TQCheckBox::isChecked () const" Returns TRUE if the checkbox 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 "bool TQCheckBox::isTristate () const" Returns TRUE if the checkbox is a tri-state checkbox; otherwise returns FALSE. See the "tristate" 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 TQCheckBox::setChecked ( bool check )\fC [slot]\fR" Sets whether the checkbox 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 TQCheckBox::setNoChange ()" Sets the checkbox to the "no change" state. .PP See also tristate. -.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 "void TQCheckBox::setTristate ( bool y = TRUE )" Sets whether the checkbox is a tri-state checkbox to \fIy\fR. See the "tristate" 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. |