diff options
Diffstat (limited to 'doc/html/ntqaction.html')
-rw-r--r-- | doc/html/ntqaction.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/ntqaction.html b/doc/html/ntqaction.html index 68e8f6822..74874d8df 100644 --- a/doc/html/ntqaction.html +++ b/doc/html/ntqaction.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } action that can appear both in menus and tool bars. <a href="#details">More...</a> <p><tt>#include <<a href="qaction-h.html">ntqaction.h</a>></tt> -<p>Inherits <a href="ntqobject.html">TQObject</a>. +<p>Inherits <a href="tqobject.html">TQObject</a>. <p>Inherited by <a href="qactiongroup.html">TQActionGroup</a>. <p><a href="qaction-members.html">List of all member functions.</a> <h2>Public Members</h2> @@ -140,7 +140,7 @@ the action. For example: <pre> fileOpenAction = new TQAction( TQPixmap( fileopen ), "&Open...", CTRL+Key_O, this, "open" ); - <a href="ntqobject.html#connect">connect</a>( fileOpenAction, TQ_SIGNAL( <a href="#activated">activated</a>() ) , this, TQ_SLOT( choose() ) ); + <a href="tqobject.html#connect">connect</a>( fileOpenAction, TQ_SIGNAL( <a href="#activated">activated</a>() ) , this, TQ_SLOT( choose() ) ); </pre> <p> We create a "File Save" action with a menu text of "&Save" and <em>Ctrl+S</em> as the keyboard accelerator. We connect the @@ -164,7 +164,7 @@ widget that the action is later added to. <p>See also <a href="application.html">Main Window and Related Classes</a> and <a href="basic.html">Basic Widgets</a>. <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQAction"></a>TQAction::TQAction ( <a href="ntqobject.html">TQObject</a> * parent, const char * name = 0 ) +<h3 class=fn><a name="TQAction"></a>TQAction::TQAction ( <a href="tqobject.html">TQObject</a> * parent, const char * name = 0 ) </h3> Constructs an action called <em>name</em> with parent <em>parent</em>. <p> If <em>parent</em> is a <a href="qactiongroup.html">TQActionGroup</a>, the new action inserts itself into @@ -174,7 +174,7 @@ a widget, or an action group whose parent is a widget. <p> <b>Warning:</b> To prevent recursion, don't create an action as a child of a widget that the action is later added to. -<h3 class=fn><a name="TQAction-2"></a>TQAction::TQAction ( const <a href="ntqstring.html">TQString</a> & menuText, <a href="ntqkeysequence.html">TQKeySequence</a> accel, <a href="ntqobject.html">TQObject</a> * parent, const char * name = 0 ) +<h3 class=fn><a name="TQAction-2"></a>TQAction::TQAction ( const <a href="ntqstring.html">TQString</a> & menuText, <a href="ntqkeysequence.html">TQKeySequence</a> accel, <a href="tqobject.html">TQObject</a> * parent, const char * name = 0 ) </h3> This constructor results in an icon-less action with the the menu text <em>menuText</em> and keyboard accelerator <em>accel</em>. It is a child @@ -193,7 +193,7 @@ these using <a href="#setToolTip">setToolTip</a>() and <a href="#setStatusTip">s <p> <b>Warning:</b> To prevent recursion, don't create an action as a child of a widget that the action is later added to. -<h3 class=fn><a name="TQAction-3"></a>TQAction::TQAction ( const <a href="ntqiconset.html">TQIconSet</a> & icon, const <a href="ntqstring.html">TQString</a> & menuText, <a href="ntqkeysequence.html">TQKeySequence</a> accel, <a href="ntqobject.html">TQObject</a> * parent, const char * name = 0 ) +<h3 class=fn><a name="TQAction-3"></a>TQAction::TQAction ( const <a href="ntqiconset.html">TQIconSet</a> & icon, const <a href="ntqstring.html">TQString</a> & menuText, <a href="ntqkeysequence.html">TQKeySequence</a> accel, <a href="tqobject.html">TQObject</a> * parent, const char * name = 0 ) </h3> This constructor creates an action with the following properties: the icon or iconset <em>icon</em>, the menu text <em>menuText</em> and @@ -213,7 +213,7 @@ these using <a href="#setToolTip">setToolTip</a>() and <a href="#setStatusTip">s <p> <b>Warning:</b> To prevent recursion, don't create an action as a child of a widget that the action is later added to. -<h3 class=fn><a name="TQAction-4"></a>TQAction::TQAction ( const <a href="ntqstring.html">TQString</a> & text, const <a href="ntqiconset.html">TQIconSet</a> & icon, const <a href="ntqstring.html">TQString</a> & menuText, <a href="ntqkeysequence.html">TQKeySequence</a> accel, <a href="ntqobject.html">TQObject</a> * parent, const char * name = 0, bool toggle = FALSE ) +<h3 class=fn><a name="TQAction-4"></a>TQAction::TQAction ( const <a href="ntqstring.html">TQString</a> & text, const <a href="ntqiconset.html">TQIconSet</a> & icon, const <a href="ntqstring.html">TQString</a> & menuText, <a href="ntqkeysequence.html">TQKeySequence</a> accel, <a href="tqobject.html">TQObject</a> * parent, const char * name = 0, bool toggle = FALSE ) </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> This constructor creates an action with the following properties: the description <em>text</em>, the icon or iconset <em>icon</em>, the menu @@ -228,7 +228,7 @@ a widget, or an action group whose parent is a widget. tips unless you provide specific text for these using <a href="#setToolTip">setToolTip</a>() and <a href="#setStatusTip">setStatusTip</a>(). -<h3 class=fn><a name="TQAction-5"></a>TQAction::TQAction ( const <a href="ntqstring.html">TQString</a> & text, const <a href="ntqstring.html">TQString</a> & menuText, <a href="ntqkeysequence.html">TQKeySequence</a> accel, <a href="ntqobject.html">TQObject</a> * parent, const char * name = 0, bool toggle = FALSE ) +<h3 class=fn><a name="TQAction-5"></a>TQAction::TQAction ( const <a href="ntqstring.html">TQString</a> & text, const <a href="ntqstring.html">TQString</a> & menuText, <a href="ntqkeysequence.html">TQKeySequence</a> accel, <a href="tqobject.html">TQObject</a> * parent, const char * name = 0, bool toggle = FALSE ) </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> This constructor results in an icon-less action with the description <em>text</em>, the menu text <em>menuText</em> and the keyboard @@ -241,7 +241,7 @@ a widget, or an action group whose parent is a widget. tips unless you provide specific text for these using <a href="#setToolTip">setToolTip</a>() and <a href="#setStatusTip">setStatusTip</a>(). -<h3 class=fn><a name="TQAction-6"></a>TQAction::TQAction ( <a href="ntqobject.html">TQObject</a> * parent, const char * name, bool toggle ) +<h3 class=fn><a name="TQAction-6"></a>TQAction::TQAction ( <a href="tqobject.html">TQObject</a> * parent, const char * name, bool toggle ) </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> Constructs an action called <em>name</em> with parent <em>parent</em>. <p> If <em>toggle</em> is TRUE the action will be a toggle action, otherwise @@ -389,7 +389,7 @@ indicate the state, e.g. <pre> <a href="ntqmainwindow.html">TQMainWindow</a> * window = new <a href="ntqmainwindow.html">TQMainWindow</a>; </pre><pre> TQAction * labelonoffaction = new TQAction( window, "labelonoff" ); -</pre><pre> <a name="x2108"></a> TQObject::<a href="ntqobject.html#connect">connect</a>( labelonoffaction, TQ_SIGNAL( <a href="#toggled">toggled</a>( bool ) ), +</pre><pre> <a name="x2108"></a> TQObject::<a href="tqobject.html#connect">connect</a>( labelonoffaction, TQ_SIGNAL( <a href="#toggled">toggled</a>( bool ) ), <a name="x2109"></a> window, TQ_SLOT( <a href="ntqmainwindow.html#setUsesTextLabel">setUsesTextLabel</a>( bool ) ) ); </pre> <p> <p>See also <a href="#activated">activated</a>(), <a href="#toggleAction-prop">toggleAction</a>, and <a href="#on-prop">on</a>. |