Add \since to new functions

This commit is contained in:
JuhoErvasti 2024-12-09 23:10:46 +02:00 committed by Nyall Dawson
parent 795a792046
commit c130eb7c3d
3 changed files with 10 additions and 0 deletions

View File

@ -899,6 +899,8 @@ Returns the units for the buffer size.
.. seealso:: :py:func:`extentBuffer`
.. seealso:: :py:func:`setExtentBufferSizeUnit`
.. versionadded:: 3.42
%End
void setExtentBufferSizeUnit( Qgis::RenderUnit unit );
@ -908,6 +910,8 @@ Sets the ``unit`` used for the extent buffer.
.. seealso:: :py:func:`setExtentBuffer`
.. seealso:: :py:func:`extentBufferSizeUnit`
.. versionadded:: 3.42
%End
protected:

View File

@ -899,6 +899,8 @@ Returns the units for the buffer size.
.. seealso:: :py:func:`extentBuffer`
.. seealso:: :py:func:`setExtentBufferSizeUnit`
.. versionadded:: 3.42
%End
void setExtentBufferSizeUnit( Qgis::RenderUnit unit );
@ -908,6 +910,8 @@ Sets the ``unit`` used for the extent buffer.
.. seealso:: :py:func:`setExtentBuffer`
.. seealso:: :py:func:`extentBufferSizeUnit`
.. versionadded:: 3.42
%End
protected:

View File

@ -892,6 +892,7 @@ class CORE_EXPORT QgsSymbol
*
* \see extentBuffer()
* \see setExtentBufferSizeUnit()
* \since QGIS 3.42
*/
Qgis::RenderUnit extentBufferSizeUnit() const { return mExtentBufferSizeUnit; }
@ -900,6 +901,7 @@ class CORE_EXPORT QgsSymbol
*
* \see setExtentBuffer()
* \see extentBufferSizeUnit()
* \since QGIS 3.42
*/
void setExtentBufferSizeUnit( Qgis::RenderUnit unit ) { mExtentBufferSizeUnit = unit; }