Skip to content
Permalink
Browse files

Doxygen updates for changed method names

  • Loading branch information
m-kuhn committed Sep 29, 2017
1 parent 5be2bc1 commit 17fe7e8aecebfa98e4db619a301a0dd768da2b4d
Showing with 4 additions and 4 deletions.
  1. +2 −2 python/core/qgsvectorlayer.sip
  2. +2 −2 src/core/qgsvectorlayer.h
@@ -1392,7 +1392,7 @@ Draws a vertex symbol at (screen) coordinates x, y. (Useful to assist vertex edi
QgsExpressionContext *context = 0 ) const;
%Docstring
Returns the calculated default value for the specified field index. The default
value may be taken from a client side default value expression (see setDefaultValueExpression())
value may be taken from a client side default value expression (see setDefaultValueDefinition())
or taken from the underlying data provider.
\param index field index
\param feature optional feature to use for default value evaluation. If passed,
@@ -1402,7 +1402,7 @@ Draws a vertex symbol at (screen) coordinates x, y. (Useful to assist vertex edi
specified, a default context will be created
:return: calculated default value
.. versionadded:: 3.0
.. seealso:: setDefaultValueExpression()
.. seealso:: setDefaultValueDefinition()
:rtype: QVariant
%End

@@ -1321,7 +1321,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte

/**
* Returns the calculated default value for the specified field index. The default
* value may be taken from a client side default value expression (see setDefaultValueExpression())
* value may be taken from a client side default value expression (see setDefaultValueDefinition())
* or taken from the underlying data provider.
* \param index field index
* \param feature optional feature to use for default value evaluation. If passed,
@@ -1331,7 +1331,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
* specified, a default context will be created
* \returns calculated default value
* \since QGIS 3.0
* \see setDefaultValueExpression()
* \see setDefaultValueDefinition()
*/
QVariant defaultValue( int index, const QgsFeature &feature = QgsFeature(),
QgsExpressionContext *context = nullptr ) const;

0 comments on commit 17fe7e8

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