Skip to content
Permalink
Browse files
Deprecate constructor which should have been deprecated a long time ago
  • Loading branch information
nyalldawson committed May 13, 2021
1 parent 5e98648 commit 0b5a95ce4441c22f6c715d1f0210511e3ee22a7e
@@ -100,15 +100,18 @@ correctly respected during coordinate transforms. E.g.
.. versionadded:: 3.0
%End

explicit QgsCoordinateTransform( const QgsCoordinateReferenceSystem &source,
const QgsCoordinateReferenceSystem &destination,
int sourceDatumTransformId,
int destinationDatumTransformId );
explicit QgsCoordinateTransform( const QgsCoordinateReferenceSystem &source,
const QgsCoordinateReferenceSystem &destination,
int sourceDatumTransformId,
int destinationDatumTransformId ) /Deprecated/;
%Docstring
Constructs a QgsCoordinateTransform to transform from the ``source``
to ``destination`` coordinate reference system, with the specified
datum transforms (see :py:class:`QgsDatumTransform`).

.. deprecated::
will be removed in QGIS 4.0. Use the constructor with a :py:class:`QgsCoordinateTransformContext` argument instead.

.. versionadded:: 3.0
%End

@@ -118,12 +118,13 @@ class CORE_EXPORT QgsCoordinateTransform
* to \a destination coordinate reference system, with the specified
* datum transforms (see QgsDatumTransform).
*
* \deprecated will be removed in QGIS 4.0. Use the constructor with a QgsCoordinateTransformContext argument instead.
* \since QGIS 3.0
*/
explicit QgsCoordinateTransform( const QgsCoordinateReferenceSystem &source,
const QgsCoordinateReferenceSystem &destination,
int sourceDatumTransformId,
int destinationDatumTransformId );
Q_DECL_DEPRECATED explicit QgsCoordinateTransform( const QgsCoordinateReferenceSystem &source,
const QgsCoordinateReferenceSystem &destination,
int sourceDatumTransformId,
int destinationDatumTransformId ) SIP_DEPRECATED;

/**
* Copy constructor

0 comments on commit 0b5a95c

Please sign in to comment.