Skip to content
Permalink
Browse files

rerename transformContext -> context

  • Loading branch information
lbartoletti committed Oct 9, 2018
1 parent 9bbabcf commit 03d730ce12c97cd356c69b890ee3143616530e83
Showing with 4 additions and 4 deletions.
  1. +1 −1 python/core/auto_generated/qgstracer.sip.in
  2. +2 −2 src/core/qgstracer.cpp
  3. +1 −1 src/core/qgstracer.h
@@ -48,7 +48,7 @@ Returns the CRS used for tracing.
.. seealso:: :py:func:`setDestinationCrs`
%End

void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext );
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &context );
%Docstring
Sets the ``crs`` and ``transformContext`` used for tracing.

@@ -623,10 +623,10 @@ void QgsTracer::setLayers( const QList<QgsVectorLayer *> &layers )
invalidateGraph();
}

void QgsTracer::setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext )
void QgsTracer::setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &context )
{
mCRS = crs;
mTransformContext = transformContext;
mTransformContext = context;
invalidateGraph();
}

@@ -66,7 +66,7 @@ class CORE_EXPORT QgsTracer : public QObject
* Sets the \a crs and \a transformContext used for tracing.
* \see destinationCrs()
*/
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext );
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &context );

/**
* Sets the \a renderContext used for tracing only on visible features.

0 comments on commit 03d730c

Please sign in to comment.
You can’t perform that action at this time.