X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_SelectionMgr.h;h=7a445878c73f037d2e1e54ddf63faf5dd83f610b;hb=ed165fd07e71c11885fdc5f475a8522a5914e00d;hp=0519e29d019ef11b8f750ef3e6363b43de055e71;hpb=141af0409801857d641e2bf61cd414b373e65b0b;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_SelectionMgr.h b/src/XGUI/XGUI_SelectionMgr.h index 0519e29d0..7a445878c 100644 --- a/src/XGUI/XGUI_SelectionMgr.h +++ b/src/XGUI/XGUI_SelectionMgr.h @@ -21,12 +21,15 @@ class XGUI_Selection; */ class XGUI_EXPORT XGUI_SelectionMgr : public QObject { - Q_OBJECT -public: +Q_OBJECT + public: XGUI_SelectionMgr(XGUI_Workshop* theParent); virtual ~XGUI_SelectionMgr(); - XGUI_Selection* selection() const { return mySelection; } + XGUI_Selection* selection() const + { + return mySelection; + } //! Connects the manager to all viewers accessible by Workshop void connectViewers(); @@ -35,11 +38,11 @@ signals: //! Emited when selection in a one of viewers was changed void selectionChanged(); -private slots: + private slots: void onObjectBrowserSelection(); void onViewerSelection(); -private: + private: XGUI_Workshop* myWorkshop; XGUI_Selection* mySelection; };