diff --git a/python/PyQt6/core/auto_generated/qgssnappingconfig.sip.in b/python/PyQt6/core/auto_generated/qgssnappingconfig.sip.in index bd3529ce1999..5ffe616c07d2 100644 --- a/python/PyQt6/core/auto_generated/qgssnappingconfig.sip.in +++ b/python/PyQt6/core/auto_generated/qgssnappingconfig.sip.in @@ -56,7 +56,7 @@ Convenient method to return the translated name of the enum type .. deprecated:: 3.26 - Use :py:class:`Qgis`.snappingTypeToString instead. + Use :py:func:`~QgsSnappingConfig.snappingTypeToString` instead. %End @@ -75,7 +75,7 @@ Convenient method to return an icon corresponding to the enum type .. deprecated:: 3.26 - Use :py:class:`Qgis`.snappingTypeToString instead. + Use :py:func:`~QgsSnappingConfig.snappingTypeToIcon` instead. .. versionadded:: 3.20 %End @@ -151,7 +151,7 @@ Returns the flags type (vertices | segments | area | centroid | middle) .. deprecated:: 3.12 - Use typeFlag instead. + Use :py:func:`~IndividualLayerSettings.typeFlag` instead. %End void setType( SnappingType type ) /Deprecated/; @@ -160,7 +160,7 @@ define the type of snapping .. deprecated:: 3.12 - Use setTypeFlag instead. + Use :py:func:`~IndividualLayerSettings.setTypeFlag` instead. %End void setTypeFlag( Qgis::SnappingTypes type ); @@ -269,7 +269,7 @@ Returns the flags type (vertices | segments | area | centroid | middle) .. deprecated:: 3.12 - Use typeFlag instead. + Use :py:func:`~QgsSnappingConfig.typeFlag` instead. %End void setType( QgsSnappingConfig::SnappingType type ); @@ -278,7 +278,7 @@ define the type of snapping .. deprecated:: 3.12 - Use setTypeFlag instead. + Use :py:func:`~QgsSnappingConfig.setTypeFlag` instead. %End void setTypeFlag( Qgis::SnappingTypes type ); diff --git a/python/core/auto_generated/qgssnappingconfig.sip.in b/python/core/auto_generated/qgssnappingconfig.sip.in index 210d039f8deb..a52424262388 100644 --- a/python/core/auto_generated/qgssnappingconfig.sip.in +++ b/python/core/auto_generated/qgssnappingconfig.sip.in @@ -56,7 +56,7 @@ Convenient method to return the translated name of the enum type .. deprecated:: 3.26 - Use :py:class:`Qgis`.snappingTypeToString instead. + Use :py:func:`~QgsSnappingConfig.snappingTypeToString` instead. %End @@ -75,7 +75,7 @@ Convenient method to return an icon corresponding to the enum type .. deprecated:: 3.26 - Use :py:class:`Qgis`.snappingTypeToString instead. + Use :py:func:`~QgsSnappingConfig.snappingTypeToIcon` instead. .. versionadded:: 3.20 %End @@ -151,7 +151,7 @@ Returns the flags type (vertices | segments | area | centroid | middle) .. deprecated:: 3.12 - Use typeFlag instead. + Use :py:func:`~IndividualLayerSettings.typeFlag` instead. %End void setType( SnappingType type ) /Deprecated/; @@ -160,7 +160,7 @@ define the type of snapping .. deprecated:: 3.12 - Use setTypeFlag instead. + Use :py:func:`~IndividualLayerSettings.setTypeFlag` instead. %End void setTypeFlag( Qgis::SnappingTypes type ); @@ -269,7 +269,7 @@ Returns the flags type (vertices | segments | area | centroid | middle) .. deprecated:: 3.12 - Use typeFlag instead. + Use :py:func:`~QgsSnappingConfig.typeFlag` instead. %End void setType( QgsSnappingConfig::SnappingType type ); @@ -278,7 +278,7 @@ define the type of snapping .. deprecated:: 3.12 - Use setTypeFlag instead. + Use :py:func:`~QgsSnappingConfig.setTypeFlag` instead. %End void setTypeFlag( Qgis::SnappingTypes type ); diff --git a/src/core/qgssnappingconfig.h b/src/core/qgssnappingconfig.h index b1ba287e8785..f0bfe77d361f 100644 --- a/src/core/qgssnappingconfig.h +++ b/src/core/qgssnappingconfig.h @@ -80,7 +80,7 @@ class CORE_EXPORT QgsSnappingConfig * Convenient method to return the translated name of the enum type * Qgis::SnappingTypes. * \since QGIS 3.12 - * \deprecated QGIS 3.26. Use snappingTypeToString instead. + * \deprecated QGIS 3.26. Use snappingTypeToString() instead. */ Q_DECL_DEPRECATED static QString snappingTypeFlagToString( Qgis::SnappingType type ) SIP_DEPRECATED {return snappingTypeToString( type );} @@ -95,7 +95,7 @@ class CORE_EXPORT QgsSnappingConfig /** * Convenient method to return an icon corresponding to the enum type * Qgis::SnappingTypes. - * \deprecated QGIS 3.26. Use snappingTypeToIcon instead. + * \deprecated QGIS 3.26. Use snappingTypeToIcon() instead. * \since QGIS 3.20 */ Q_DECL_DEPRECATED static QIcon snappingTypeFlagToIcon( Qgis::SnappingType type ) SIP_DEPRECATED {return snappingTypeToIcon( type );} @@ -152,13 +152,13 @@ class CORE_EXPORT QgsSnappingConfig /** * Returns the flags type (vertices | segments | area | centroid | middle) - * \deprecated QGIS 3.12. Use typeFlag instead. + * \deprecated QGIS 3.12. Use typeFlag() instead. */ Q_DECL_DEPRECATED QgsSnappingConfig::SnappingType type() const SIP_DEPRECATED; /** * define the type of snapping - * \deprecated QGIS 3.12. Use setTypeFlag instead. + * \deprecated QGIS 3.12. Use setTypeFlag() instead. */ Q_DECL_DEPRECATED void setType( SnappingType type ) SIP_DEPRECATED; @@ -249,13 +249,13 @@ class CORE_EXPORT QgsSnappingConfig /** * Returns the flags type (vertices | segments | area | centroid | middle) - * \deprecated QGIS 3.12. Use typeFlag instead. + * \deprecated QGIS 3.12. Use typeFlag() instead. */ Q_DECL_DEPRECATED QgsSnappingConfig::SnappingType type() const SIP_DEPRECATED; /** * define the type of snapping - * \deprecated QGIS 3.12. Use setTypeFlag instead. + * \deprecated QGIS 3.12. Use setTypeFlag() instead. */ Q_DECL_DEPRECATED void setType( QgsSnappingConfig::SnappingType type );