File tree 1 file changed +21
-1
lines changed
1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ public:
165
165
bool fetchGeometry = true,
166
166
bool useIntersect = false);
167
167
168
- bool nextFeature(QgsFeature& feature);
168
+ bool nextFeature(QgsFeature& feature /Out/ );
169
169
170
170
171
171
/**Gets the feature at the given feature id. Considers the changed, added, deleted and permanent features
@@ -369,6 +369,26 @@ public:
369
369
/**access range */
370
370
RangeData &range(int idx);
371
371
372
+ /**Adds a new overlay to this class. QgsVectorLayer takes ownership of the object
373
+ @note this method was added in version 1.1
374
+ */
375
+ void addOverlay( QgsVectorOverlay* overlay /Transfer/);
376
+
377
+ /**Removes all overlays of a given type
378
+ @note this method was added in version 1.1
379
+ */
380
+ void removeOverlay( const QString& typeName );
381
+
382
+ /**Returns pointers to the overlays of this layer
383
+ @note this method was added in version 1.1
384
+ */
385
+ void vectorOverlays( QList<QgsVectorOverlay*>& overlayList /Out/);
386
+
387
+ /**Returns the (first) overlay of a type, e.g. diagram or label
388
+ @note this method was added in version 1.1
389
+ */
390
+ QgsVectorOverlay* findOverlayByType( const QString& typeName );
391
+
372
392
public slots:
373
393
374
394
/** Select feature by its ID, optionally emit signal selectionChanged() */
You can’t perform that action at this time.
0 commit comments