diff options
Diffstat (limited to 'doc/man/man3/tqbutton.3qt')
-rw-r--r-- | doc/man/man3/tqbutton.3qt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/man/man3/tqbutton.3qt b/doc/man/man3/tqbutton.3qt index 96faca7a2..aecb81fa3 100644 --- a/doc/man/man3/tqbutton.3qt +++ b/doc/man/man3/tqbutton.3qt @@ -11,23 +11,23 @@ QButton \- The abstract base class of button widgets, providing functionality co .SH SYNOPSIS \fC#include <ntqbutton.h>\fR .PP -Inherits QWidget. +Inherits TQWidget. .PP Inherited by QCheckBox, QPushButton, QRadioButton, and QToolButton. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQButton\fR ( QWidget * parent = 0, const char * name = 0, WFlags f = 0 )" +.BI "\fBQButton\fR ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" .br .ti -1c .BI "\fB~QButton\fR ()" .br .ti -1c -.BI "QString \fBtext\fR () const" +.BI "TQString \fBtext\fR () const" .br .ti -1c -.BI "virtual void \fBsetText\fR ( const QString & )" +.BI "virtual void \fBsetText\fR ( const TQString & )" .br .ti -1c .BI "const QPixmap * \fBpixmap\fR () const" @@ -126,7 +126,7 @@ Inherited by QCheckBox, QPushButton, QRadioButton, and QToolButton. .BI "QPixmap \fBpixmap\fR - the pixmap shown on the button" .br .ti -1c -.BI "QString \fBtext\fR - the text shown on the button" +.BI "TQString \fBtext\fR - the text shown on the button" .br .ti -1c .BI "bool \fBtoggleButton\fR - whether the button is a toggle button \fI(read " "only" ")\fR" @@ -249,7 +249,7 @@ This enum type defines what a button can do in response to a mouse/keyboard pres .TP \fCQButton::Tristate\fR - pressing the button cycles between the three states On, Off and NoChange .SH MEMBER FUNCTION DOCUMENTATION -.SH "QButton::QButton ( QWidget * parent = 0, const char * name = 0, WFlags f = 0 )" +.SH "QButton::QButton ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" Constructs a standard button called \fIname\fR with parent \fIparent\fR, using the widget flags \fIf\fR. .PP If \fIparent\fR is a QButtonGroup, this constructor calls QButtonGroup::insert(). @@ -313,7 +313,7 @@ Handles paint events for buttons. Small and typically complex buttons are painte .PP See also drawButton() and drawButtonLabel(). .PP -Reimplemented from QWidget. +Reimplemented from TQWidget. .SH "const QPixmap * QButton::pixmap () const" Returns the pixmap shown on the button. See the "pixmap" property for details. .SH "void QButton::pressed ()\fC [signal]\fR" @@ -341,7 +341,7 @@ See also toggleState. Sets the pixmap shown on the button. See the "pixmap" property for details. .SH "void QButton::setState ( ToggleState s )\fC [virtual protected]\fR" Sets the toggle state of the button to \fIs\fR. \fIs\fR can be Off, NoChange or On. -.SH "void QButton::setText ( const QString & )\fC [virtual]\fR" +.SH "void QButton::setText ( const TQString & )\fC [virtual]\fR" Sets the text shown on the button. See the "text" property for details. .SH "void QButton::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. @@ -359,7 +359,7 @@ This signal is emitted whenever a toggle button changes state. \fIstate\fR is On 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 "QString QButton::text () const" +.SH "TQString QButton::text () const" Returns the text shown on the button. See the "text" property for details. .SH "void QButton::toggle ()\fC [slot]\fR" Toggles the state of a toggle button. @@ -414,10 +414,10 @@ If the pixmap is monochrome (i.e. it is a QBitmap or its depth is 1) and it does pixmap() returns 0 if no pixmap was set. .PP Set this property's value with setPixmap() and get this property's value with pixmap(). -.SH "QString text" +.SH "TQString text" This property holds the text shown on the button. .PP -This property will return a QString::null if the button has no text. If the text has an ampersand (&) in it, then an accelerator is automatically created for it using the character that follows the '&' as the accelerator key. Any previous accelerator will be overwritten, or cleared if no accelerator is defined by the text. +This property will return a TQString::null if the button has no text. If the text has an ampersand (&) in it, then an accelerator is automatically created for it using the character that follows the '&' as the accelerator key. Any previous accelerator will be overwritten, or cleared if no accelerator is defined by the text. .PP There is no default text. .PP |