Skip to content
Permalink
Browse files

Bette naming for python

  • Loading branch information
lbartoletti committed Sep 24, 2018
1 parent f18bc52 commit 458fa1752d9f59b173690c2e8886d39c6c6075f7
Showing with 12 additions and 12 deletions.
  1. +4 −4 python/core/auto_generated/qgstracer.sip.in
  2. +4 −4 src/core/qgstracer.cpp
  3. +4 −4 src/core/qgstracer.h
@@ -48,16 +48,16 @@ Returns the CRS used for tracing.
.. seealso:: :py:func:`setDestinationCrs`
%End

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

.. seealso:: :py:func:`destinationCrs`
%End

void setRenderContext( const QgsRenderContext *render );
void setRenderContext( const QgsRenderContext *renderContext );
%Docstring
Sets the ``render`` context used for tracing only on visible features.
Sets the ``renderContext`` used for tracing only on visible features.
%End

QgsRectangle extent() const;
@@ -620,16 +620,16 @@ void QgsTracer::setLayers( const QList<QgsVectorLayer *> &layers )
invalidateGraph();
}

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

void QgsTracer::setRenderContext( const QgsRenderContext *render )
void QgsTracer::setRenderContext( const QgsRenderContext *renderContext )
{
mRenderContext = std::unique_ptr<QgsRenderContext>( new QgsRenderContext( *render ) );
mRenderContext = std::unique_ptr<QgsRenderContext>( new QgsRenderContext( *renderContext ) );
invalidateGraph();
}

@@ -63,15 +63,15 @@ class CORE_EXPORT QgsTracer : public QObject
QgsCoordinateReferenceSystem destinationCrs() const { return mCRS; }

/**
* Sets the \a crs and transform \a context used for tracing.
* Sets the \a crs and \a transformContext used for tracing.
* \see destinationCrs()
*/
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transform );
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext );

/**
* Sets the \a render context used for tracing only on visible features.
* Sets the \a renderContext used for tracing only on visible features.
*/
void setRenderContext( const QgsRenderContext *render );
void setRenderContext( const QgsRenderContext *renderContext );

//! Gets extent to which graph's features will be limited (empty extent means no limit)
QgsRectangle extent() const { return mExtent; }

0 comments on commit 458fa17

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