X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ActionsMgr.h;h=d6c55d833ca7b87720107404be8267a1afd434c3;hb=d86c77d1c6210bbe04fbc3e5b00f9e212e1ec930;hp=a3d7dea19192b14da881cd1c233ec2ddea70a268;hpb=d80699ac131d75798c6c39deff2c5e820aface5f;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ActionsMgr.h b/src/XGUI/XGUI_ActionsMgr.h index a3d7dea19..d6c55d833 100644 --- a/src/XGUI/XGUI_ActionsMgr.h +++ b/src/XGUI/XGUI_ActionsMgr.h @@ -20,14 +20,18 @@ public: XGUI_ActionsMgr(QObject* theParent); virtual ~XGUI_ActionsMgr(); + void addCommand(XGUI_Command* theCmd); - void restoreCommandState(); void saveCommandsState(); + void restoreCommandState(); + + void setNestedActionsEnabled(bool); public slots: void setActionsDisabled(bool isEnabled); private: + QStringList myNestedActions; QMap myActions; QMap myActionsState; };