+ } else {
+ ltNestedActions << myNestedActions[theParent];
+ }
+ foreach(QString eachNested, ltNestedActions) {
+ setActionEnabled(eachNested, theEnabled);
+ }
+}
+
+void XGUI_ActionsMgr::setActionChecked(const QString& theId, const bool theChecked)
+{
+ QAction* anAction = myActions[theId];
+ if(anAction && anAction->isCheckable()) {
+ anAction->setChecked(theChecked);
+ }
+}
+
+
+void XGUI_ActionsMgr::setActionEnabled(const QString& theId, const bool theEnabled)
+{
+ QAction* anAction = myActions[theId];
+ if(anAction) {
+ anAction->setEnabled(theEnabled);