mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-10 00:08:20 -05:00
Correctly deprecate method
This commit is contained in:
parent
3bfe097641
commit
f25a87ea3f
@ -1129,11 +1129,12 @@ Removes a CRS from the list of recently used CRS.
|
|||||||
QGIS 3.36 Use :py:func:`QgsApplication.coordinateReferenceSystemRegistry()`->:py:func:`~QgsCoordinateReferenceSystem.removeRecent` instead.
|
QGIS 3.36 Use :py:func:`QgsApplication.coordinateReferenceSystemRegistry()`->:py:func:`~QgsCoordinateReferenceSystem.removeRecent` instead.
|
||||||
%End
|
%End
|
||||||
|
|
||||||
static void clearRecentCoordinateReferenceSystems();
|
static void clearRecentCoordinateReferenceSystems() /Deprecated/;
|
||||||
%Docstring
|
%Docstring
|
||||||
Cleans the list of recently used CRS.
|
Cleans the list of recently used CRS.
|
||||||
|
|
||||||
.. versionadded:: 3.32
|
.. deprecated::
|
||||||
|
QGIS 3.36 Use :py:func:`QgsApplication.coordinateReferenceSystemRegistry()`->:py:func:`~QgsCoordinateReferenceSystem.clearRecent` instead.
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1129,11 +1129,12 @@ Removes a CRS from the list of recently used CRS.
|
|||||||
QGIS 3.36 Use :py:func:`QgsApplication.coordinateReferenceSystemRegistry()`->:py:func:`~QgsCoordinateReferenceSystem.removeRecent` instead.
|
QGIS 3.36 Use :py:func:`QgsApplication.coordinateReferenceSystemRegistry()`->:py:func:`~QgsCoordinateReferenceSystem.removeRecent` instead.
|
||||||
%End
|
%End
|
||||||
|
|
||||||
static void clearRecentCoordinateReferenceSystems();
|
static void clearRecentCoordinateReferenceSystems() /Deprecated/;
|
||||||
%Docstring
|
%Docstring
|
||||||
Cleans the list of recently used CRS.
|
Cleans the list of recently used CRS.
|
||||||
|
|
||||||
.. versionadded:: 3.32
|
.. deprecated::
|
||||||
|
QGIS 3.36 Use :py:func:`QgsApplication.coordinateReferenceSystemRegistry()`->:py:func:`~QgsCoordinateReferenceSystem.clearRecent` instead.
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1060,9 +1060,10 @@ class CORE_EXPORT QgsCoordinateReferenceSystem
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Cleans the list of recently used CRS.
|
* Cleans the list of recently used CRS.
|
||||||
* \since QGIS 3.32
|
*
|
||||||
|
* \deprecated QGIS 3.36 Use QgsApplication::coordinateReferenceSystemRegistry()->clearRecent() instead.
|
||||||
*/
|
*/
|
||||||
static void clearRecentCoordinateReferenceSystems();
|
Q_DECL_DEPRECATED static void clearRecentCoordinateReferenceSystems() SIP_DEPRECATED;
|
||||||
|
|
||||||
#ifndef SIP_RUN
|
#ifndef SIP_RUN
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user