Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bette naming for python
  • Loading branch information
lbartoletti committed Sep 24, 2018
1 parent f18bc52 commit 458fa17
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions python/core/auto_generated/qgstracer.sip.in
Expand Up @@ -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;
Expand Down
8 changes: 4 additions & 4 deletions src/core/qgstracer.cpp
Expand Up @@ -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();
}

Expand Down
8 changes: 4 additions & 4 deletions src/core/qgstracer.h
Expand Up @@ -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; }
Expand Down

0 comments on commit 458fa17

Please sign in to comment.