Skip to content
Permalink
Browse files

API documentation

  • Loading branch information
m-kuhn committed Nov 25, 2013
1 parent efaaab3 commit 8e73a587509fc60485be07bc563c2aec22dde32f
Showing with 6 additions and 4 deletions.
  1. +6 −4 src/core/qgsvectorlayer.h
@@ -879,10 +879,12 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
*/
bool addFeature( QgsFeature& f, bool alsoUpdateExtent = true );

/** Updates an existing feature
@param f feature to update
@return True in case of success and False in case of error
@note added in 1.8
/** Updates an existing feature. This method needs to query the datasource
on every call. Consider using {@link changeAttributeValue()} or
{@link changeGeometry()} instead.
@param f Feature to update
@return True in case of success and False in case of error
@note Added in 1.8
*/
bool updateFeature( QgsFeature &f );

0 comments on commit 8e73a58

Please sign in to comment.
You can’t perform that action at this time.