summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqbutton.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-29 12:43:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-29 12:43:23 +0900
commitfef846914f8db6dc117e206ef913d519bf6bb33e (patch)
treed6567b31f7f22d0c8c66eec947dff1960efa25ac /doc/man/man3/tqbutton.3qt
parent8ef4ea451dd81dd66b34ed31aaa631f6df24a192 (diff)
downloadtqt3-fef846914f8db6dc117e206ef913d519bf6bb33e.tar.gz
tqt3-fef846914f8db6dc117e206ef913d519bf6bb33e.zip
Rename basic widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqbutton.3qt')
-rw-r--r--doc/man/man3/tqbutton.3qt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/tqbutton.3qt b/doc/man/man3/tqbutton.3qt
index 3e83ac43d..cf1be83c2 100644
--- a/doc/man/man3/tqbutton.3qt
+++ b/doc/man/man3/tqbutton.3qt
@@ -13,7 +13,7 @@ QButton \- The abstract base class of button widgets, providing functionality co
.PP
Inherits TQWidget.
.PP
-Inherited by QCheckBox, QPushButton, QRadioButton, and TQToolButton.
+Inherited by TQCheckBox, TQPushButton, TQRadioButton, and TQToolButton.
.PP
.SS "Public Members"
.in +1c
@@ -168,11 +168,11 @@ Inherited by QCheckBox, QPushButton, QRadioButton, and TQToolButton.
.SH DESCRIPTION
The QButton class is the abstract base class of button widgets, providing functionality common to buttons.
.PP
-\fBIf you want to create a button use QPushButton.\fR
+\fBIf you want to create a button use TQPushButton.\fR
.PP
The QButton class implements an \fIabstract\fR button, and lets subclasses specify how to reply to user actions and how to draw the button.
.PP
-QButton provides both push and toggle buttons. The QRadioButton and QCheckBox classes provide only toggle buttons; QPushButton and TQToolButton provide both toggle and push buttons.
+QButton provides both push and toggle buttons. The TQRadioButton and TQCheckBox classes provide only toggle buttons; TQPushButton and TQToolButton provide both toggle and push buttons.
.PP
Any button can have either a text or pixmap label. setText() sets the button to be a text button and setPixmap() sets it to be a pixmap button. The text/pixmap is manipulated as necessary to create the "disabled" appearance when the button is disabled.
.PP
@@ -190,7 +190,7 @@ setToggleButton() sets whether the button is a toggle button or not.
.PP
The difference between isDown() and isOn() is as follows: When the user clicks a toggle button to toggle it on, the button is first \fIpressed\fR and then released into the \fIon\fR state. When the user clicks it again (to toggle it off), the button moves first to the \fIpressed\fR state, then to the \fIoff\fR state (isOn() and isDown() are both FALSE).
.PP
-Default buttons (as used in many dialogs) are provided by QPushButton::setDefault() and QPushButton::setAutoDefault().
+Default buttons (as used in many dialogs) are provided by TQPushButton::setDefault() and TQPushButton::setAutoDefault().
.PP
QButton provides five signals: <ol type=1>
.TP
@@ -208,7 +208,7 @@ If the button is a text button with an ampersand (&) in its text, QButton create
.PP
.nf
.br
- QPushButton *p = new QPushButton( "Ro&ck && Roll", this );
+ TQPushButton *p = new TQPushButton( "Ro&ck && Roll", this );
.br
.fi
.PP
@@ -224,7 +224,7 @@ You can also set a custom accelerator using the setAccel() function. This is use
.br
.fi
.PP
-All of the buttons provided by TQt (QPushButton, TQToolButton, QCheckBox and QRadioButton) can display both text and pixmaps.
+All of the buttons provided by TQt (TQPushButton, TQToolButton, TQCheckBox and TQRadioButton) can display both text and pixmaps.
.PP
To subclass QButton, you must reimplement at least drawButton() (to draw the button's outline) and drawButtonLabel() (to draw its text or pixmap). It is generally advisable to reimplement sizeHint() as well, and sometimes hitButton() (to determine whether a button press is within the button).
.PP