Salome HOME
Divide init method of sketch operation on initFeature and initSelection.
[modules/shaper.git] / src / XGUI / XGUI_PartDataModel.h
index e1533ee0bfbd4a14b04628ca438a1715d1f6fa20..fabadeb8b076829ac42f27163cb0b9d36b373316 100644 (file)
@@ -14,7 +14,7 @@ class XGUI_EXPORT XGUI_TopDataModel : public XGUI_FeaturesModel
 {
   Q_OBJECT
 public:
-  XGUI_TopDataModel(const DocumentPtr& theDocument, QObject* theParent);
+  XGUI_TopDataModel(QObject* theParent);
   virtual ~XGUI_TopDataModel();
 
   // Reimpl from QAbstractItemModel
@@ -67,7 +67,7 @@ class XGUI_PartDataModel : public XGUI_PartModel
 {
   Q_OBJECT
 public:
-  XGUI_PartDataModel(const DocumentPtr& theDocument, QObject* theParent);
+  XGUI_PartDataModel(QObject* theParent);
   virtual ~XGUI_PartDataModel();
 
   // Reimpl from QAbstractItemModel
@@ -106,6 +106,8 @@ public:
   virtual FeaturePtr part() const;
 
 private: 
+
+  //! Returns document of the current part
   DocumentPtr featureDocument() const;
 
   //! Types of QModelIndexes