5 #ifndef XGUI_ACTIONSMGR_H_
6 #define XGUI_ACTIONSMGR_H_
10 #include <QStringList>
15 class XGUI_ActionsMgr: public QObject
20 XGUI_ActionsMgr(QObject* theParent);
21 virtual ~XGUI_ActionsMgr();
23 void addCommand(XGUI_Command* theCmd);
24 void restoreCommandState();
25 void saveCommandsState();
28 void setActionsDisabled(bool isEnabled);
31 QMap<QString, QAction*> myActions;
32 QMap<QString, bool> myActionsState;
35 #endif /* XGUI_ACTIONSMGR_H_ */