diff options
Diffstat (limited to 'doc/man/man3/tqpushbutton.3qt')
| -rw-r--r-- | doc/man/man3/tqpushbutton.3qt | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/doc/man/man3/tqpushbutton.3qt b/doc/man/man3/tqpushbutton.3qt index 082e51d84..651b341ee 100644 --- a/doc/man/man3/tqpushbutton.3qt +++ b/doc/man/man3/tqpushbutton.3qt @@ -11,7 +11,7 @@ TQPushButton \- Command button .SH SYNOPSIS \fC#include <tqpushbutton.h>\fR .PP -Inherits QButton. +Inherits TQButton. .PP .SS "Public Members" .in +1c @@ -118,7 +118,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 ()" @@ -217,7 +217,7 @@ Other classes of buttons are option buttons (see TQRadioButton) and check boxes .ce 1 .B "[Image Omitted]" .PP -In Qt, the QButton abstract base class provides most of the modes and other API, and TQPushButton provides GUI logic. See QButton for more information about the API. +In Qt, the TQButton abstract base class provides most of the modes and other API, and TQPushButton provides GUI logic. See TQButton for more information about the API. .PP See also TQToolButton, TQRadioButton, TQCheckBox, GUI Design Handbook: Push Button, and Basic Widgets. .SH MEMBER FUNCTION DOCUMENTATION @@ -235,16 +235,16 @@ Note that you can also pass a TQPixmap object as an icon (thanks to the implicit The \fIparent\fR and \fIname\fR arguments are sent to the TQWidget constructor. .SH "TQPushButton::~TQPushButton ()" Destroys the push button. -.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 TQPushButton::autoDefault () const" Returns TRUE if the push button is the auto default button; otherwise returns FALSE. See the "autoDefault" 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 @@ -252,54 +252,54 @@ 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 "TQIconSet * TQPushButton::iconSet () const" Returns the icon set on the push button. See the "iconSet" property for details. .SH "bool TQPushButton::isDefault () const" Returns TRUE if the push button is the default button; otherwise returns FALSE. See the "default" 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 TQPushButton::isFlat () const" Returns TRUE if the border is disabled; otherwise returns FALSE. See the "flat" property for details. .SH "bool TQPushButton::isMenuButton () const" Returns TRUE if the push button has a menu button on it; otherwise returns FALSE. See the "menuButton" 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 "TQPopupMenu * TQPushButton::popup () const" Returns the button's associated popup menu or 0 if no popup menu has been set. .PP See also setPopup(). -.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 TQPushButton::setAutoDefault ( bool autoDef )\fC [virtual]\fR" Sets whether the push button is the auto default button to \fIautoDef\fR. See the "autoDefault" 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 TQPushButton::setDefault ( bool def )\fC [virtual]\fR" Sets whether the push button is the default button to \fIdef\fR. See the "default" 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 TQPushButton::setFlat ( bool )" Sets whether the border is disabled. See the "flat" property for details. @@ -309,7 +309,7 @@ Sets the icon set on the push button. See the "iconSet" property for details. \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .SH "void TQPushButton::setOn ( bool )\fC [virtual slot]\fR" Sets whether the push button is toggled. See the "on" 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 TQPushButton::setPopup ( TQPopupMenu * popup )" Associates the popup menu \fIpopup\fR with this push button. This turns the button into a menu button. @@ -320,25 +320,25 @@ See also popup(). .PP Examples: .)l buttongroups/buttongroups.cpp and tqdir/tqdir.cpp. -.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 TQPushButton::setToggleButton ( bool )" Sets whether the button is a toggle button. See the "toggleButton" 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, on, 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. |
