Skip to content

Commit

Permalink
Doxygen updates for changed method names
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 29, 2017
1 parent 5be2bc1 commit 17fe7e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python/core/qgsvectorlayer.sip
Expand Up @@ -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,
Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsvectorlayer.h
Expand Up @@ -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,
Expand All @@ -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;
Expand Down

0 comments on commit 17fe7e8

Please sign in to comment.