summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqbutton.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqbutton.3qt')
-rw-r--r--doc/man/man3/tqbutton.3qt18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/man/man3/tqbutton.3qt b/doc/man/man3/tqbutton.3qt
index 9d8a3cf92..3e83ac43d 100644
--- a/doc/man/man3/tqbutton.3qt
+++ b/doc/man/man3/tqbutton.3qt
@@ -30,10 +30,10 @@ Inherited by QCheckBox, QPushButton, QRadioButton, and TQToolButton.
.BI "virtual void \fBsetText\fR ( const TQString & )"
.br
.ti -1c
-.BI "const QPixmap * \fBpixmap\fR () const"
+.BI "const TQPixmap * \fBpixmap\fR () const"
.br
.ti -1c
-.BI "virtual void \fBsetPixmap\fR ( const QPixmap & )"
+.BI "virtual void \fBsetPixmap\fR ( const TQPixmap & )"
.br
.ti -1c
.BI "QKeySequence \fBaccel\fR () const"
@@ -123,7 +123,7 @@ Inherited by QCheckBox, QPushButton, QRadioButton, and TQToolButton.
.BI "bool \fBon\fR - whether the button is toggled \fI(read " "only" ")\fR"
.br
.ti -1c
-.BI "QPixmap \fBpixmap\fR - the pixmap shown on the button"
+.BI "TQPixmap \fBpixmap\fR - the pixmap shown on the button"
.br
.ti -1c
.BI "TQString \fBtext\fR - the text shown on the button"
@@ -153,7 +153,7 @@ Inherited by QCheckBox, QPushButton, QRadioButton, and TQToolButton.
.BI "virtual void \fBsetState\fR ( ToggleState s )"
.br
.ti -1c
-.BI "virtual bool \fBhitButton\fR ( const QPoint & pos ) const"
+.BI "virtual bool \fBhitButton\fR ( const TQPoint & pos ) const"
.br
.ti -1c
.BI "virtual void \fBdrawButton\fR ( TQPainter * )"
@@ -218,7 +218,7 @@ You can also set a custom accelerator using the setAccel() function. This is use
.PP
.nf
.br
- p->setPixmap( QPixmap("print.png") );
+ p->setPixmap( TQPixmap("print.png") );
.br
p->setAccel( ALT+Key_F7 );
.br
@@ -296,7 +296,7 @@ Returns the group that this button belongs to.
If the button is not a member of any QButtonGroup, this function returns 0.
.PP
See also QButtonGroup.
-.SH "bool QButton::hitButton ( const QPoint & pos ) const\fC [virtual protected]\fR"
+.SH "bool QButton::hitButton ( const TQPoint & pos ) const\fC [virtual protected]\fR"
Returns TRUE if \fIpos\fR is inside the clickable button rectangle; otherwise returns FALSE.
.PP
By default, the clickable area is the entire widget. Subclasses may reimplement it, though.
@@ -314,7 +314,7 @@ Handles paint events for buttons. Small and typically complex buttons are painte
See also drawButton() and drawButtonLabel().
.PP
Reimplemented from TQWidget.
-.SH "const QPixmap * QButton::pixmap () const"
+.SH "const TQPixmap * QButton::pixmap () const"
Returns the pixmap shown on the button. See the "pixmap" property for details.
.SH "void QButton::pressed ()\fC [signal]\fR"
This signal is emitted when the button is pressed down.
@@ -337,7 +337,7 @@ Sets whether the button is pressed. See the "down" property for details.
Sets the state of this button to On if \fIon\fR is TRUE; otherwise to Off.
.PP
See also toggleState.
-.SH "void QButton::setPixmap ( const QPixmap & )\fC [virtual]\fR"
+.SH "void QButton::setPixmap ( const TQPixmap & )\fC [virtual]\fR"
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.
@@ -406,7 +406,7 @@ This property holds whether the button is toggled.
This property should only be set for toggle buttons.
.PP
Get this property's value with isOn().
-.SH "QPixmap pixmap"
+.SH "TQPixmap pixmap"
This property holds the pixmap shown on the button.
.PP
If the pixmap is monochrome (i.e. it is a TQBitmap or its depth is 1) and it does not have a mask, this property will set the pixmap to be its own mask. The purpose of this is to draw transparent bitmaps which are important for toggle buttons, for example.