mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04: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.
|
||||
%End
|
||||
|
||||
static void clearRecentCoordinateReferenceSystems();
|
||||
static void clearRecentCoordinateReferenceSystems() /Deprecated/;
|
||||
%Docstring
|
||||
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
|
||||
|
||||
|
||||
|
@ -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.
|
||||
%End
|
||||
|
||||
static void clearRecentCoordinateReferenceSystems();
|
||||
static void clearRecentCoordinateReferenceSystems() /Deprecated/;
|
||||
%Docstring
|
||||
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
|
||||
|
||||
|
||||
|
@ -1060,9 +1060,10 @@ class CORE_EXPORT QgsCoordinateReferenceSystem
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user