diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /doc/html/qactiongroup.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/qactiongroup.html')
-rw-r--r-- | doc/html/qactiongroup.html | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/html/qactiongroup.html b/doc/html/qactiongroup.html index 4a4ef8d31..21aa9d1b3 100644 --- a/doc/html/qactiongroup.html +++ b/doc/html/qactiongroup.html @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; } <p>The TQActionGroup class groups actions together. <a href="#details">More...</a> -<p><tt>#include <<a href="qaction-h.html">qaction.h</a>></tt> -<p>Inherits <a href="qaction.html">TQAction</a>. +<p><tt>#include <<a href="qaction-h.html">ntqaction.h</a>></tt> +<p>Inherits <a href="ntqaction.html">TQAction</a>. <p><a href="qactiongroup-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -77,24 +77,24 @@ appearing as separate menu options and toolbar buttons. <pre> TQActionGroup *grp = new TQActionGroup( this ); - <a name="x2112"></a> <a href="qobject.html#connect">connect</a>( grp, SIGNAL( <a href="#selected">selected</a>( <a href="qaction.html">TQAction</a>* ) ), this, SLOT( textAlign( <a href="qaction.html">TQAction</a>* ) ) ); + <a name="x2112"></a> <a href="ntqobject.html#connect">connect</a>( grp, SIGNAL( <a href="#selected">selected</a>( <a href="ntqaction.html">TQAction</a>* ) ), this, SLOT( textAlign( <a href="ntqaction.html">TQAction</a>* ) ) ); </pre> <p> Here we create a new action group. Since the action group is exclusive by default, only one of the actions in the group is ever active at any one time. We then connect the group's <a href="#selected">selected</a>() signal to our textAlign() slot. -<p> <pre> <a name="x2113"></a> actionAlignLeft = new <a href="qaction.html">TQAction</a>( TQPixmap::<a href="qpixmap.html#fromMimeSource">fromMimeSource</a>( "textleft.xpm" ), tr( "&Left" ), CTRL + Key_L, grp, "textLeft" ); - <a name="x2111"></a> actionAlignLeft-><a href="qaction.html#setToggleAction">setToggleAction</a>( TRUE ); +<p> <pre> <a name="x2113"></a> actionAlignLeft = new <a href="ntqaction.html">TQAction</a>( TQPixmap::<a href="ntqpixmap.html#fromMimeSource">fromMimeSource</a>( "textleft.xpm" ), tr( "&Left" ), CTRL + Key_L, grp, "textLeft" ); + <a name="x2111"></a> actionAlignLeft-><a href="ntqaction.html#setToggleAction">setToggleAction</a>( TRUE ); </pre> <p> We create a left align action, add it to the toolbar and the menu and make it a toggle action. We create center and right align actions in exactly the same way. <p> -The actions in an action group emit their <a href="qaction.html#activated">activated</a>() (and for -toggle actions, <a href="qaction.html#toggled">toggled</a>()) signals as usual. +The actions in an action group emit their <a href="ntqaction.html#activated">activated</a>() (and for +toggle actions, <a href="ntqaction.html#toggled">toggled</a>()) signals as usual. <p> The <a href="#setExclusive">setExclusive</a>() function is used to ensure that only one action is active at any one time: it should be used with actions which -have their <a href="qaction.html#toggleAction-prop">toggleAction</a> set to TRUE. +have their <a href="ntqaction.html#toggleAction-prop">toggleAction</a> set to TRUE. <p> Action group actions appear as individual menu options and toolbar buttons. For exclusive action groups use <a href="#setUsesDropDown">setUsesDropDown</a>() to display the actions in a subwidget of any widget the action group @@ -107,13 +107,13 @@ parent. Actions can have separators dividing them using <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="TQActionGroup"></a>TQActionGroup::TQActionGroup ( <a href="qobject.html">TQObject</a> * parent, const char * name = 0 ) +<h3 class=fn><a name="TQActionGroup"></a>TQActionGroup::TQActionGroup ( <a href="ntqobject.html">TQObject</a> * parent, const char * name = 0 ) </h3> Constructs an action group called <em>name</em>, with parent <em>parent</em>. <p> The action group is exclusive by default. Call <a href="#setExclusive">setExclusive</a>(FALSE) to make the action group non-exclusive. -<h3 class=fn><a name="TQActionGroup-2"></a>TQActionGroup::TQActionGroup ( <a href="qobject.html">TQObject</a> * parent, const char * name, bool exclusive ) +<h3 class=fn><a name="TQActionGroup-2"></a>TQActionGroup::TQActionGroup ( <a href="ntqobject.html">TQObject</a> * parent, const char * name, bool exclusive ) </h3> Constructs an action group called <em>name</em>, with parent <em>parent</em>. <p> If <em>exclusive</em> is TRUE only one toggle action in the group will @@ -124,7 +124,7 @@ ever be active. </h3> Destroys the object and frees allocated resources. -<h3 class=fn>void <a name="add"></a>TQActionGroup::add ( <a href="qaction.html">TQAction</a> * action ) +<h3 class=fn>void <a name="add"></a>TQActionGroup::add ( <a href="ntqaction.html">TQAction</a> * action ) </h3> Adds action <em>action</em> to this group. <p> Normally an action is added to a group by creating it with the @@ -135,7 +135,7 @@ group as parent, so this function is not usually used. </h3> Adds a separator to the group. -<h3 class=fn>bool <a name="addTo"></a>TQActionGroup::addTo ( <a href="qwidget.html">TQWidget</a> * w )<tt> [virtual]</tt> +<h3 class=fn>bool <a name="addTo"></a>TQActionGroup::addTo ( <a href="ntqwidget.html">TQWidget</a> * w )<tt> [virtual]</tt> </h3> Adds this action group to the widget <em>w</em>. <p> If <a href="#isExclusive">isExclusive</a>() is FALSE or <a href="#usesDropDown">usesDropDown</a>() is FALSE, the actions within @@ -149,11 +149,11 @@ submenu (if <em>w</em> is a menu). action group is added to the widget. If actions are added to the action group <em>after</em> the action group has been added to the widget these later actions will <em>not</em> appear. -<p> <p>See also <a href="#exclusive-prop">exclusive</a>, <a href="#usesDropDown-prop">usesDropDown</a>, and <a href="qaction.html#removeFrom">removeFrom</a>(). +<p> <p>See also <a href="#exclusive-prop">exclusive</a>, <a href="#usesDropDown-prop">usesDropDown</a>, and <a href="ntqaction.html#removeFrom">removeFrom</a>(). <p>Example: <a href="themes-example.html#x318">themes/themes.cpp</a>. -<p>Reimplemented from <a href="qaction.html#addTo">TQAction</a>. -<h3 class=fn>void <a name="insert"></a>TQActionGroup::insert ( <a href="qaction.html">TQAction</a> * a ) +<p>Reimplemented from <a href="ntqaction.html#addTo">TQAction</a>. +<h3 class=fn>void <a name="insert"></a>TQActionGroup::insert ( <a href="ntqaction.html">TQAction</a> * a ) </h3> <p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> Use <a href="#add">add</a>() instead, or better still create the action with the action @@ -162,13 +162,13 @@ group as its parent. <h3 class=fn>bool <a name="isExclusive"></a>TQActionGroup::isExclusive () const </h3><p>Returns TRUE if the action group does exclusive toggling; otherwise returns FALSE. See the <a href="qactiongroup.html#exclusive-prop">"exclusive"</a> property for details. -<h3 class=fn>void <a name="selected"></a>TQActionGroup::selected ( <a href="qaction.html">TQAction</a> * )<tt> [signal]</tt> +<h3 class=fn>void <a name="selected"></a>TQActionGroup::selected ( <a href="ntqaction.html">TQAction</a> * )<tt> [signal]</tt> </h3> <p> This signal is emitted from exclusive groups when toggle actions change state. <p> The argument is the action whose state changed to "on". -<p> <p>See also <a href="#exclusive-prop">exclusive</a>, <a href="qaction.html#on-prop">on</a>, and <a href="qaction.html#toggled">TQAction::toggled</a>(). +<p> <p>See also <a href="#exclusive-prop">exclusive</a>, <a href="ntqaction.html#on-prop">on</a>, and <a href="ntqaction.html#toggled">TQAction::toggled</a>(). <p>Examples: <a href="canvas-chart-example.html#x2873">chart/chartform.cpp</a> and <a href="qactiongroup.html#x2112">textedit/textedit.cpp</a>. <h3 class=fn>void <a name="setExclusive"></a>TQActionGroup::setExclusive ( bool ) @@ -187,22 +187,22 @@ See the <a href="qactiongroup.html#usesDropDown-prop">"usesDropDown"</a> propert can ever be active at any one time. If the user chooses another toggle action in the group the one they chose becomes active and the one that was active becomes inactive. -<p> <p>See also <a href="qaction.html#toggleAction-prop">TQAction::toggleAction</a>. +<p> <p>See also <a href="ntqaction.html#toggleAction-prop">TQAction::toggleAction</a>. <p>Set this property's value with <a href="#setExclusive">setExclusive</a>() and get this property's value with <a href="#isExclusive">isExclusive</a>(). <h3 class=fn>bool <a name="usesDropDown-prop"></a>usesDropDown</h3> <p>This property holds whether the group's actions are displayed in a subwidget of the widgets the action group is added to. <p>Exclusive action groups added to a toolbar display their actions -in a combobox with the action's <a href="qaction.html#text-prop">TQAction::text</a> and <a href="qaction.html#iconSet-prop">TQAction::iconSet</a> properties shown. Non-exclusive groups are -represented by a tool button showing their <a href="qaction.html#iconSet-prop">TQAction::iconSet</a> and --- depending on <a href="qmainwindow.html#usesTextLabel">TQMainWindow::usesTextLabel</a>() -- <a href="qaction.html#text">text</a>() +in a combobox with the action's <a href="ntqaction.html#text-prop">TQAction::text</a> and <a href="ntqaction.html#iconSet-prop">TQAction::iconSet</a> properties shown. Non-exclusive groups are +represented by a tool button showing their <a href="ntqaction.html#iconSet-prop">TQAction::iconSet</a> and +-- depending on <a href="ntqmainwindow.html#usesTextLabel">TQMainWindow::usesTextLabel</a>() -- <a href="ntqaction.html#text">text</a>() property. <p> In a popup menu the member actions are displayed in a submenu. <p> Changing usesDropDown only affects <em>subsequent</em> calls to <a href="#addTo">addTo</a>(). <p> Note that setting this property for actions in a combobox causes -calls to their <a href="qaction.html#setVisible">TQAction::setVisible</a>(), -<a href="qaction.html#setEnabled">TQAction::setEnabled</a>(), and -<a href="qaction.html#setDisabled">TQAction::setDisabled</a>() functions to have no effect. +calls to their <a href="ntqaction.html#setVisible">TQAction::setVisible</a>(), +<a href="ntqaction.html#setEnabled">TQAction::setEnabled</a>(), and +<a href="ntqaction.html#setDisabled">TQAction::setDisabled</a>() functions to have no effect. <p> This property's default is FALSE. <p> <p>Set this property's value with <a href="#setUsesDropDown">setUsesDropDown</a>() and get this property's value with <a href="#usesDropDown">usesDropDown</a>(). |