X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ObjectsBrowser.h;h=d92788abecde6f02730041ba7202c3690b3c1b5b;hb=75708cdfd8653e625bfb7aee667a7bb31867f292;hp=5352ffe585f454ba50c403d626a1cfa9a63dc9ac;hpb=82d3fff7d0ed2c089da5aa6b106789be076081f3;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ObjectsBrowser.h b/src/XGUI/XGUI_ObjectsBrowser.h index 5352ffe58..d92788abe 100644 --- a/src/XGUI/XGUI_ObjectsBrowser.h +++ b/src/XGUI/XGUI_ObjectsBrowser.h @@ -16,7 +16,7 @@ class ModuleBase_IDocumentDataModel; class QLineEdit; class XGUI_DataModel; -#define ModuleDataModel +//#define ModuleDataModel /** * \ingroup GUI @@ -114,7 +114,13 @@ Q_OBJECT void clearContent(); /// Set Data Model for the Object Browser +#ifdef ModuleDataModel void setDataModel(ModuleBase_IDocumentDataModel* theModel); +#endif + +public slots: + //! Called on Edit command request + void onEditItem(); signals: //! Emited when selection is changed @@ -139,9 +145,6 @@ signals: /// \param thePnt a position of context menu void onLabelContextMenuRequested(const QPoint& thePnt); - //! Called on Edit command request - void onEditItem(); - //! Called when selection in Data Tree is changed void onSelectionChanged(const QItemSelection& theSelected, const QItemSelection& theDeselected);