diff options
Diffstat (limited to 'doc/man/man3/tqaction.3qt')
-rw-r--r-- | doc/man/man3/tqaction.3qt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/man/man3/tqaction.3qt b/doc/man/man3/tqaction.3qt index 7ccc0982e..1d6c29ffe 100644 --- a/doc/man/man3/tqaction.3qt +++ b/doc/man/man3/tqaction.3qt @@ -24,10 +24,10 @@ Inherited by QActionGroup. .BI "\fBQAction\fR ( const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0 )" .br .ti -1c -.BI "\fBQAction\fR ( const QIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0 )" +.BI "\fBQAction\fR ( const TQIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0 )" .br .ti -1c -.BI "QAction ( const TQString & text, const QIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE ) \fI(obsolete)\fR" +.BI "QAction ( const TQString & text, const TQIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE ) \fI(obsolete)\fR" .br .ti -1c .BI "QAction ( const TQString & text, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE ) \fI(obsolete)\fR" @@ -39,10 +39,10 @@ Inherited by QActionGroup. .BI "\fB~QAction\fR ()" .br .ti -1c -.BI "virtual void \fBsetIconSet\fR ( const QIconSet & )" +.BI "virtual void \fBsetIconSet\fR ( const TQIconSet & )" .br .ti -1c -.BI "QIconSet \fBiconSet\fR () const" +.BI "TQIconSet \fBiconSet\fR () const" .br .ti -1c .BI "virtual void \fBsetText\fR ( const TQString & )" @@ -141,7 +141,7 @@ Inherited by QActionGroup. .BI "bool \fBenabled\fR - whether the action is enabled" .br .ti -1c -.BI "QIconSet \fBiconSet\fR - the action's icon" +.BI "TQIconSet \fBiconSet\fR - the action's icon" .br .ti -1c .BI "TQString \fBmenuText\fR - the action's menu text" @@ -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 "QAction::QAction ( const QIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0 )" +.SH "QAction::QAction ( const TQIconSet & icon, const TQString & menuText, QKeySequence 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 QActionGroup, 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 "QAction::QAction ( const TQString & text, const QIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE )" +.SH "QAction::QAction ( const TQString & text, const TQIconSet & icon, const TQString & menuText, QKeySequence 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. @@ -329,7 +329,7 @@ This function is called from the addTo() function when it has created a widget ( This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function is called from the addTo() function when it has created a menu item at the index position \fIindex\fR in the popup menu \fImenu\fR. -.SH "QIconSet QAction::iconSet () const" +.SH "TQIconSet QAction::iconSet () const" Returns the action's icon. See the "iconSet" property for details. .SH "bool QAction::isEnabled () const" Returns TRUE if the action is enabled; otherwise returns FALSE. See the "enabled" property for details. @@ -355,7 +355,7 @@ Disables the action if \fIdisable\fR is TRUE; otherwise enables the action. See the enabled documentation for more information. .SH "void QAction::setEnabled ( bool )\fC [virtual slot]\fR" Sets whether the action is enabled. See the "enabled" property for details. -.SH "void QAction::setIconSet ( const QIconSet & )\fC [virtual]\fR" +.SH "void QAction::setIconSet ( const TQIconSet & )\fC [virtual]\fR" Sets the action's icon. See the "iconSet" property for details. .SH "void QAction::setMenuText ( const TQString & )\fC [virtual]\fR" Sets the action's menu text. See the "menuText" property for details. @@ -427,12 +427,12 @@ Disabled actions can't be chosen by the user. They don't disappear from the menu What's this? help on disabled actions is still available provided the QAction::whatsThis property is set. .PP Set this property's value with setEnabled() and get this property's value with isEnabled(). -.SH "QIconSet iconSet" +.SH "TQIconSet iconSet" This property holds the action's icon. .PP The icon is used as the tool button icon and in the menu to the left of the menu text. There is no default icon. .PP -If a null icon (QIconSet::isNull() is passed into this function, the icon of the action is cleared. +If a null icon (TQIconSet::isNull() is passed into this function, the icon of the action is cleared. .PP (See the action/toggleaction/toggleaction.cpp example.) .PP |