- //! Returns Feature object by the given Model index.
- //! Returns 0 if the given index is not index of a feature
- FeaturePtr feature(const QModelIndex& theIndex) const;
+ //! Returns an object by the given Model index.
+ //! Returns 0 if the given index is not index of an object
+ ObjectPtr object(const QModelIndex& theIndex) const;
+
+ QModelIndex objectIndex(const ObjectPtr theObject) const;