36 changes: 0 additions & 36 deletions src/core/qgsvectorlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -437,28 +437,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
*/
virtual QString subsetString();

/**
* Select features with or without attributes in a given window.
* @param fetchAttributes indizes of attributes to fetch
* @param rect window (QgsRectangle() for all)
* @param fetchGeometry fetch features with geometry
* @param useIntersect fetch only features that actually intersect the window (not just the bounding box)
*/
Q_DECL_DEPRECATED void select( QgsAttributeList fetchAttributes,
QgsRectangle rect = QgsRectangle(),
bool fetchGeometry = true,
bool useIntersect = false );
/**
* fetch a feature (after select)
* @param feature buffer to read the feature into
* @return true, if a feature was fetched, false, if there are no more features
*/
Q_DECL_DEPRECATED bool nextFeature( QgsFeature& feature );

/**Gets the feature at the given feature id. Considers the changed, added, deleted and permanent features
@return true in case of success*/
Q_DECL_DEPRECATED bool featureAtId( QgsFeatureId featureId, QgsFeature &f, bool fetchGeometries = true, bool fetchAttributes = true );

/**
* Query the provider for features specified in request.
*/
Expand Down Expand Up @@ -1088,20 +1066,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
//annotation form for this layer
QString mAnnotationForm;

QgsFeatureIterator mLayerIterator; // temporary: to support old API

#if 0
bool mFetching;
QgsRectangle mFetchRect;
QgsAttributeList mFetchAttributes;
QgsAttributeList mFetchProvAttributes;
bool mFetchGeometry;

QSet<QgsFeatureId> mFetchConsidered;
QgsGeometryMap::iterator mFetchChangedGeomIt;
QgsFeatureList::iterator mFetchAddedFeaturesIt;
#endif

//! cache for some vector layer data - currently only geometries for faster editing
QgsVectorLayerCache* mCache;

Expand Down