- //! Returns QModelIndex which corresponds to the given feature if this is a part
- //! If the feature is not found then index is not valid
- QModelIndex partIndex(const FeaturePtr& theFeature) const;
+ //! Returns QModelIndex which corresponds to the given part
+ //! If the object is not found then index is not valid
+ QModelIndex partIndex(const ResultPartPtr& thePart) const;