diff options
Diffstat (limited to 'doc/html/tqactiongroup.html')
-rw-r--r-- | doc/html/tqactiongroup.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/tqactiongroup.html b/doc/html/tqactiongroup.html index 98a835d42..b02b649db 100644 --- a/doc/html/tqactiongroup.html +++ b/doc/html/tqactiongroup.html @@ -83,7 +83,7 @@ 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="tqaction.html">TQAction</a>( TQPixmap::<a href="tqpixmap.html#fromMimeSource">fromMimeSource</a>( "textleft.xpm" ), tr( "&Left" ), CTRL + Key_L, grp, "textLeft" ); - <a name="x2111"></a> actionAlignLeft-><a href="tqaction.html#setToggleAction">setToggleAction</a>( TRUE ); + <a name="x2111"></a> actionAlignLeft-><a href="tqaction.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 @@ -93,7 +93,7 @@ The actions in an action group emit their <a href="tqaction.html#activated">acti toggle actions, <a href="tqaction.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="tqaction.html#toggleAction-prop">toggleAction</a> set to TRUE. +have their <a href="tqaction.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 @@ -109,13 +109,13 @@ parent. Actions can have separators dividing them using <h3 class=fn><a name="TQActionGroup"></a>TQActionGroup::TQActionGroup ( <a href="tqobject.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 +<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="tqobject.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 +<p> If <em>exclusive</em> is true only one toggle action in the group will ever be active. <p> <p>See also <a href="#exclusive-prop">exclusive</a>. @@ -137,11 +137,11 @@ Adds a separator to the group. <h3 class=fn>bool <a name="addTo"></a>TQActionGroup::addTo ( <a href="tqwidget.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 +<p> If <a href="#isExclusive">isExclusive</a>() is false or <a href="#usesDropDown">usesDropDown</a>() is false, the actions within the group are added to the widget individually. For example, if the widget is a menu, the actions will appear as individual menu options, and if the widget is a toolbar, the actions will appear as toolbar buttons. -<p> If both isExclusive() and usesDropDown() are TRUE, the actions +<p> If both isExclusive() and usesDropDown() are true, the actions are presented either in a combobox (if <em>w</em> is a toolbar) or in a submenu (if <em>w</em> is a menu). <p> All actions should be added to the action group <em>before</em> the @@ -159,7 +159,7 @@ widget these later actions will <em>not</em> appear. 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. +</h3><p>Returns true if the action group does exclusive toggling; otherwise returns false. See the <a href="tqactiongroup.html#exclusive-prop">"exclusive"</a> property for details. <h3 class=fn>void <a name="selected"></a>TQActionGroup::selected ( <a href="tqaction.html">TQAction</a> * )<tt> [signal]</tt> </h3> @@ -177,12 +177,12 @@ See the <a href="tqactiongroup.html#exclusive-prop">"exclusive"</a> property for </h3><p>Sets whether the group's actions are displayed in a subwidget of the widgets the action group is added to to <em>enable</em>. See the <a href="tqactiongroup.html#usesDropDown-prop">"usesDropDown"</a> property for details. <h3 class=fn>bool <a name="usesDropDown"></a>TQActionGroup::usesDropDown () const -</h3><p>Returns TRUE if the group's actions are displayed in a subwidget of the widgets the action group is added to; otherwise returns FALSE. +</h3><p>Returns true if the group's actions are displayed in a subwidget of the widgets the action group is added to; otherwise returns false. See the <a href="tqactiongroup.html#usesDropDown-prop">"usesDropDown"</a> property for details. <hr><h2>Property Documentation</h2> <h3 class=fn>bool <a name="exclusive-prop"></a>exclusive</h3> <p>This property holds whether the action group does exclusive toggling. -<p>If exclusive is TRUE only one toggle action in the action group +<p>If exclusive is true only one toggle action in the action group 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. @@ -202,7 +202,7 @@ property. calls to their <a href="tqaction.html#setVisible">TQAction::setVisible</a>(), <a href="tqaction.html#setEnabled">TQAction::setEnabled</a>(), and <a href="tqaction.html#setDisabled">TQAction::setDisabled</a>() functions to have no effect. -<p> This property's default is FALSE. +<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>(). <!-- eof --> |