summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqaction.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqaction.3qt')
-rw-r--r--doc/man/man3/tqaction.3qt28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/man/man3/tqaction.3qt b/doc/man/man3/tqaction.3qt
index 862763dfb..6d1f6bdbf 100644
--- a/doc/man/man3/tqaction.3qt
+++ b/doc/man/man3/tqaction.3qt
@@ -21,16 +21,16 @@ Inherited by TQActionGroup.
.BI "\fBTQAction\fR ( TQObject * parent, const char * name = 0 )"
.br
.ti -1c
-.BI "\fBTQAction\fR ( const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0 )"
+.BI "\fBTQAction\fR ( const TQString & menuText, TQKeySequence accel, TQObject * parent, const char * name = 0 )"
.br
.ti -1c
-.BI "\fBTQAction\fR ( const TQIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0 )"
+.BI "\fBTQAction\fR ( const TQIconSet & icon, const TQString & menuText, TQKeySequence accel, TQObject * parent, const char * name = 0 )"
.br
.ti -1c
-.BI "TQAction ( const TQString & text, const TQIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE ) \fI(obsolete)\fR"
+.BI "TQAction ( const TQString & text, const TQIconSet & icon, const TQString & menuText, TQKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE ) \fI(obsolete)\fR"
.br
.ti -1c
-.BI "TQAction ( const TQString & text, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE ) \fI(obsolete)\fR"
+.BI "TQAction ( const TQString & text, const TQString & menuText, TQKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE ) \fI(obsolete)\fR"
.br
.ti -1c
.BI "TQAction ( TQObject * parent, const char * name, bool toggle ) \fI(obsolete)\fR"
@@ -75,10 +75,10 @@ Inherited by TQActionGroup.
.BI "TQString \fBwhatsThis\fR () const"
.br
.ti -1c
-.BI "virtual void \fBsetAccel\fR ( const QKeySequence & key )"
+.BI "virtual void \fBsetAccel\fR ( const TQKeySequence & key )"
.br
.ti -1c
-.BI "QKeySequence \fBaccel\fR () const"
+.BI "TQKeySequence \fBaccel\fR () const"
.br
.ti -1c
.BI "virtual void \fBsetToggleAction\fR ( bool )"
@@ -135,7 +135,7 @@ Inherited by TQActionGroup.
.SS "Properties"
.in +1c
.ti -1c
-.BI "QKeySequence \fBaccel\fR - the action's accelerator key"
+.BI "TQKeySequence \fBaccel\fR - the action's accelerator key"
.br
.ti -1c
.BI "bool \fBenabled\fR - whether the action is enabled"
@@ -239,7 +239,7 @@ If \fIparent\fR is a TQActionGroup, the new action inserts itself into \fIparent
For accelerators and status tips to work, \fIparent\fR must either be a widget, or an action group whose parent is a widget.
.PP
\fBWarning:\fR To prevent recursion, don't create an action as a child of a widget that the action is later added to.
-.SH "TQAction::TQAction ( const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0 )"
+.SH "TQAction::TQAction ( const TQString & menuText, TQKeySequence accel, TQObject * parent, const char * name = 0 )"
This constructor results in an icon-less action with the the menu text \fImenuText\fR and keyboard accelerator \fIaccel\fR. It is a child of \fIparent\fR and called \fIname\fR.
.PP
If \fIparent\fR is a TQActionGroup, the action automatically becomes a member of it.
@@ -251,7 +251,7 @@ The action uses a stripped version of \fImenuText\fR (e.g. "&Menu Option..." bec
Call setToggleAction(TRUE) to make the action a toggle action.
.PP
\fBWarning:\fR To prevent recursion, don't create an action as a child of a widget that the action is later added to.
-.SH "TQAction::TQAction ( const TQIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0 )"
+.SH "TQAction::TQAction ( const TQIconSet & icon, const TQString & menuText, TQKeySequence accel, TQObject * parent, const char * name = 0 )"
This constructor creates an action with the following properties: the icon or iconset \fIicon\fR, the menu text \fImenuText\fR and keyboard accelerator \fIaccel\fR. It is a child of \fIparent\fR and called \fIname\fR.
.PP
If \fIparent\fR is a TQActionGroup, the action automatically becomes a member of it.
@@ -263,7 +263,7 @@ The action uses a stripped version of \fImenuText\fR (e.g. "&Menu Option..." bec
Call setToggleAction(TRUE) to make the action a toggle action.
.PP
\fBWarning:\fR To prevent recursion, don't create an action as a child of a widget that the action is later added to.
-.SH "TQAction::TQAction ( const TQString & text, const TQIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE )"
+.SH "TQAction::TQAction ( const TQString & text, const TQIconSet & icon, const TQString & menuText, TQKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE )"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
This constructor creates an action with the following properties: the description \fItext\fR, the icon or iconset \fIicon\fR, the menu text \fImenuText\fR and keyboard accelerator \fIaccel\fR. It is a child of \fIparent\fR and called \fIname\fR. If \fItoggle\fR is TRUE the action will be a toggle action, otherwise it will be a command action.
@@ -273,7 +273,7 @@ If \fIparent\fR is a TQActionGroup, the action automatically becomes a member of
For accelerators and status tips to work, \fIparent\fR must either be a widget, or an action group whose parent is a widget.
.PP
The \fItext\fR and \fIaccel\fR will be used for tool tips and status tips unless you provide specific text for these using setToolTip() and setStatusTip().
-.SH "TQAction::TQAction ( const TQString & text, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE )"
+.SH "TQAction::TQAction ( const TQString & text, const TQString & menuText, TQKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE )"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
This constructor results in an icon-less action with the description \fItext\fR, the menu text \fImenuText\fR and the keyboard accelerator \fIaccel\fR. Its parent is \fIparent\fR and it is called \fIname\fR. If \fItoggle\fR is TRUE the action will be a toggle action, otherwise it will be a command action.
@@ -295,7 +295,7 @@ If \fIparent\fR is a TQActionGroup, the new action inserts itself into \fIparent
For accelerators and status tips to work, \fIparent\fR must either be a widget, or an action group whose parent is a widget.
.SH "TQAction::~TQAction ()"
Destroys the object and frees allocated resources.
-.SH "QKeySequence TQAction::accel () const"
+.SH "TQKeySequence TQAction::accel () const"
Returns the action's accelerator key. See the "accel" property for details.
.SH "void TQAction::activate ()\fC [slot]\fR"
Activates the action and executes all connected slots. This only works for actions that are not toggle action.
@@ -347,7 +347,7 @@ Removes the action from widget \fIw\fR.
Returns TRUE if the action was removed successfully; otherwise returns FALSE.
.PP
See also addTo().
-.SH "void TQAction::setAccel ( const QKeySequence & key )\fC [virtual]\fR"
+.SH "void TQAction::setAccel ( const TQKeySequence & key )\fC [virtual]\fR"
Sets the action's accelerator key to \fIkey\fR. See the "accel" property for details.
.SH "void TQAction::setDisabled ( bool disable )\fC [slot]\fR"
Disables the action if \fIdisable\fR is TRUE; otherwise enables the action.
@@ -413,7 +413,7 @@ Returns the action's tool tip. See the "toolTip" property for details.
.SH "TQString TQAction::whatsThis () const"
Returns the action's "What's This?" help text. See the "whatsThis" property for details.
.SS "Property Documentation"
-.SH "QKeySequence accel"
+.SH "TQKeySequence accel"
This property holds the action's accelerator key.
.PP
The keycodes can be found in TQt::Key and TQt::Modifier. There is no default accelerator key.