summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqactiongroup.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqactiongroup.3qt')
-rw-r--r--doc/man/man3/tqactiongroup.3qt20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/man/man3/tqactiongroup.3qt b/doc/man/man3/tqactiongroup.3qt
index 11074297a..c99f9af11 100644
--- a/doc/man/man3/tqactiongroup.3qt
+++ b/doc/man/man3/tqactiongroup.3qt
@@ -86,14 +86,14 @@ Here we create a new action group. Since the action group is exclusive by defaul
.br
actionAlignLeft = new TQAction( TQPixmap::fromMimeSource( "textleft.xpm" ), tr( "&Left" ), CTRL + Key_L, grp, "textLeft" );
.br
- actionAlignLeft->setToggleAction( TRUE );
+ actionAlignLeft->setToggleAction( true );
.fi
.PP
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.
.PP
The actions in an action group emit their activated() (and for toggle actions, toggled()) signals as usual.
.PP
-The setExclusive() function is used to ensure that only one action is active at any one time: it should be used with actions which have their toggleAction set to TRUE.
+The setExclusive() function is used to ensure that only one action is active at any one time: it should be used with actions which have their toggleAction set to true.
.PP
Action group actions appear as individual menu options and toolbar buttons. For exclusive action groups use setUsesDropDown() to display the actions in a subwidget of any widget the action group is added to. For example, the actions would appear in a combobox in a toolbar or as a submenu in a menu.
.PP
@@ -104,11 +104,11 @@ See also Main Window and Related Classes and Basic Widgets.
.SH "TQActionGroup::TQActionGroup ( TQObject * parent, const char * name = 0 )"
Constructs an action group called \fIname\fR, with parent \fIparent\fR.
.PP
-The action group is exclusive by default. Call setExclusive(FALSE) to make the action group non-exclusive.
+The action group is exclusive by default. Call setExclusive(false) to make the action group non-exclusive.
.SH "TQActionGroup::TQActionGroup ( TQObject * parent, const char * name, bool exclusive )"
Constructs an action group called \fIname\fR, with parent \fIparent\fR.
.PP
-If \fIexclusive\fR is TRUE only one toggle action in the group will ever be active.
+If \fIexclusive\fR is true only one toggle action in the group will ever be active.
.PP
See also exclusive.
.SH "TQActionGroup::~TQActionGroup ()"
@@ -124,9 +124,9 @@ Adds a separator to the group.
.SH "bool TQActionGroup::addTo ( TQWidget * w )\fC [virtual]\fR"
Adds this action group to the widget \fIw\fR.
.PP
-If isExclusive() is FALSE or usesDropDown() 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.
+If isExclusive() is false or usesDropDown() 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.
.PP
-If both isExclusive() and usesDropDown() are TRUE, the actions are presented either in a combobox (if \fIw\fR is a toolbar) or in a submenu (if \fIw\fR is a menu).
+If both isExclusive() and usesDropDown() are true, the actions are presented either in a combobox (if \fIw\fR is a toolbar) or in a submenu (if \fIw\fR is a menu).
.PP
All actions should be added to the action group \fIbefore\fR the action group is added to the widget. If actions are added to the action group \fIafter\fR the action group has been added to the widget these later actions will \fInot\fR appear.
.PP
@@ -140,7 +140,7 @@ Reimplemented from TQAction.
.PP
Use add() instead, or better still create the action with the action group as its parent.
.SH "bool TQActionGroup::isExclusive () const"
-Returns TRUE if the action group does exclusive toggling; otherwise returns FALSE. See the "exclusive" property for details.
+Returns true if the action group does exclusive toggling; otherwise returns false. See the "exclusive" property for details.
.SH "void TQActionGroup::selected ( TQAction * )\fC [signal]\fR"
This signal is emitted from exclusive groups when toggle actions change state.
.PP
@@ -155,12 +155,12 @@ Sets whether the action group does exclusive toggling. See the "exclusive" prope
.SH "void TQActionGroup::setUsesDropDown ( bool enable )"
Sets whether the group's actions are displayed in a subwidget of the widgets the action group is added to to \fIenable\fR. See the "usesDropDown" property for details.
.SH "bool TQActionGroup::usesDropDown () const"
-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 "usesDropDown" property for details.
+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 "usesDropDown" property for details.
.SS "Property Documentation"
.SH "bool exclusive"
This property holds whether the action group does exclusive toggling.
.PP
-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.
+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.
.PP
See also TQAction::toggleAction.
.PP
@@ -176,7 +176,7 @@ Changing usesDropDown only affects \fIsubsequent\fR calls to addTo().
.PP
Note that setting this property for actions in a combobox causes calls to their TQAction::setVisible(), TQAction::setEnabled(), and TQAction::setDisabled() functions to have no effect.
.PP
-This property's default is FALSE.
+This property's default is false.
.PP
Set this property's value with setUsesDropDown() and get this property's value with usesDropDown().