X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FXGUI%2FXGUI_MainMenu.h;h=945ddcb8d9f890b6d90811986f280805c69dfb01;hb=329d73a7dbce38e38063ff41186be492e3529ab5;hp=48d97459135f78be9f26e3f2b6a6d7450e10f833;hpb=8396394eba586fc212fe4cb3e1e838a54ebf4ffe;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_MainMenu.h b/src/XGUI/XGUI_MainMenu.h index 48d974591..945ddcb8d 100644 --- a/src/XGUI/XGUI_MainMenu.h +++ b/src/XGUI/XGUI_MainMenu.h @@ -33,7 +33,7 @@ public: XGUI_Workbench* addWorkbench(const QString& theId, const QString& theText = ""); //! Returns workbench (menu group) by the given name. - XGUI_Workbench* findWorkbench(const QString& theId); + XGUI_Workbench* findWorkbench(const QString& theId) const; //! Returns General page (predefined workbench) XGUI_Workbench* generalPage() const { return myGeneralPage; } @@ -47,6 +47,8 @@ public: //! Returns list of created commands QList features() const; + QList workbenches() const; + virtual bool eventFilter(QObject *theWatched, QEvent *theEvent); private: