Salome HOME
Optimize the flushing: this improvement speed ups the unit test for 3-4 times
[modules/shaper.git] / src / PartSet / PartSet_Module.h
index f43efaf94702da0da6957f2595f59f13917c6693..a475b5f657a5fd47ce73ef4c3133de788db89d1e 100644 (file)
@@ -4,7 +4,6 @@
 #define PartSet_Module_H
 
 #include "PartSet.h"
-#include "PartSet_DocumentDataModel.h"
 
 #include <ModuleBase_IModule.h>
 #include <ModuleBase_Definitions.h>
@@ -21,6 +20,7 @@
 #include <QMap>
 #include <QMenu>
 #include <QObject>
+#include <QModelIndex>
 
 #include <string>
 
@@ -155,13 +155,9 @@ public:
   /// \return true if items are added and there is no necessity to provide standard menu
   bool isMouseOverWindow();
 
+  /// Returns sketch manager object
   PartSet_SketcherMgr* sketchMgr() const { return mySketchMgr; }
 
-#ifdef ModuleDataModel
-  /// Returns data model object for representation of data tree in Object browser
-  virtual ModuleBase_IDocumentDataModel* dataModel() const { return myDataModel; }
-#endif
-
   /// Performs functionality on closing document
   virtual void closeDocument();
 
@@ -287,9 +283,6 @@ protected slots:
   int myVisualLayerId;
 
   bool myHasConstraintShown;
-#ifdef ModuleDataModel
-  PartSet_DocumentDataModel* myDataModel;
-#endif
 
   QModelIndex aActivePartIndex;
 };