virtual ~XGUI_ActionsMgr();
- void addCommand(XGUI_Command* theCmd);
-
- /// Register a command in SALOME mode
- /// \param theId - string ID of the command
- /// \param theCmd - command object
- void addCommand(QString theId, QAction* theCmd);
+ void addCommand(QAction* theCmd);
void saveCommandsState();
void restoreCommandState();
+ /// Set the action is checked
+ /// \param theId - string ID of the command
+ /// \praram theChecked - the new checked state
+ void setActionChecked(const QString& theId, const bool theChecked);
+
void updateAction(const QString&);
void setNestedActionsEnabled(bool);