Skip to content

Commit

Permalink
Fix function links, sipify
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 2, 2024
1 parent a9c1139 commit 0cf0d49
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions python/PyQt6/core/auto_generated/qgssnappingconfig.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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

Expand Down Expand Up @@ -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/;
Expand All @@ -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 );
Expand Down Expand Up @@ -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 );
Expand All @@ -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 );
Expand Down
12 changes: 6 additions & 6 deletions python/core/auto_generated/qgssnappingconfig.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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

Expand Down Expand Up @@ -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/;
Expand All @@ -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 );
Expand Down Expand Up @@ -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 );
Expand All @@ -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 );
Expand Down
12 changes: 6 additions & 6 deletions src/core/qgssnappingconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 );}

Expand All @@ -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 );}
Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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 );

Expand Down

0 comments on commit 0cf0d49

Please sign in to comment.