- //! Returns list of currently selected features
- QFeatureList selectedFeatures() const { return myFeaturesList; }
+ //! Returns list of currently selected objects
+ QObjectPtrList selectedObjects() const
+ {
+ return myObjectsList;
+ }
+
+ /// Set selected list of objects
+ /// \param theObjects list of objects to select
+ void setObjectsSelected(const QObjectPtrList& theObjects);