X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FPartSet%2FPartSet_DataTreeModel.h;h=0fa8f6380b5c145f3add8221916d1326f03cdda0;hb=f39b615e10f48ab13b8346c1e0b4c64500d44f51;hp=ff96baf9b6deb42ce92800a1076806d7fdc51289;hpb=82cec10b6f678f068e1d3fbc0243a374a18c7afe;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_DataTreeModel.h b/src/PartSet/PartSet_DataTreeModel.h index ff96baf9b..0fa8f6380 100644 --- a/src/PartSet/PartSet_DataTreeModel.h +++ b/src/PartSet/PartSet_DataTreeModel.h @@ -22,11 +22,7 @@ class PARTSET_EXPORT PartSet_FeaturesModel : public QAbstractItemModel public: /// Constructor /// \param theParent a parent object - PartSet_FeaturesModel(QObject* theParent) - : QAbstractItemModel(theParent), - myItemsColor(Qt::black) - { - } + PartSet_FeaturesModel(QObject* theParent); //! Returns Feature object by the given Model index. //! Returns 0 if the given index is not index of a feature @@ -70,10 +66,9 @@ class PartSet_PartModel : public PartSet_FeaturesModel public: /// Constructor /// \param theParent a parent object - PartSet_PartModel(QObject* theParent) - : PartSet_FeaturesModel(theParent) - { - } + PartSet_PartModel(QObject* theParent); + /// Destructor + ~PartSet_PartModel(); /// Set part id /// \param theId a new id