Skip to content

Commit

Permalink
add \see and \since in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Koyaani authored and nyalldawson committed Sep 24, 2021
1 parent 38b5040 commit 968db20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Expand Up @@ -387,6 +387,8 @@ Returns the description for the parameter. This is the user-visible string
used to identify this parameter.

.. seealso:: :py:func:`setDescription`

.. seealso:: :py:func:`descriptionAsPythonString`
%End

void setDescription( const QString &description );
Expand Down Expand Up @@ -516,6 +518,8 @@ If there are quotes in the description, they are escaped if necessary.
The around quote could be single or double.

.. seealso:: :py:func:`description`

.. versionadded:: 3.24
%End

virtual QString valueAsPythonString( const QVariant &value, QgsProcessingContext &context ) const;
Expand Down
3 changes: 3 additions & 0 deletions src/core/processing/qgsprocessingparameters.h
Expand Up @@ -496,6 +496,7 @@ class CORE_EXPORT QgsProcessingParameterDefinition
* Returns the description for the parameter. This is the user-visible string
* used to identify this parameter.
* \see setDescription()
* \see descriptionAsPythonString()
*/
QString description() const { return mDescription; }

Expand Down Expand Up @@ -611,6 +612,8 @@ class CORE_EXPORT QgsProcessingParameterDefinition
* If there are quotes in the description, they are escaped if necessary.
* The around quote could be single or double.
* \see description()
*
* \since QGIS 3.24
*/
QString descriptionAsPythonString() const;

Expand Down

0 comments on commit 968db20

Please sign in to comment.