Skip to content

Commit 458fa17

Browse files
committedSep 24, 2018
Bette naming for python
1 parent f18bc52 commit 458fa17

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed
 

‎python/core/auto_generated/qgstracer.sip.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,16 @@ Returns the CRS used for tracing.
4848
.. seealso:: :py:func:`setDestinationCrs`
4949
%End
5050

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

5555
.. seealso:: :py:func:`destinationCrs`
5656
%End
5757

58-
void setRenderContext( const QgsRenderContext *render );
58+
void setRenderContext( const QgsRenderContext *renderContext );
5959
%Docstring
60-
Sets the ``render`` context used for tracing only on visible features.
60+
Sets the ``renderContext`` used for tracing only on visible features.
6161
%End
6262

6363
QgsRectangle extent() const;

‎src/core/qgstracer.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -620,16 +620,16 @@ void QgsTracer::setLayers( const QList<QgsVectorLayer *> &layers )
620620
invalidateGraph();
621621
}
622622

623-
void QgsTracer::setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transform )
623+
void QgsTracer::setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext )
624624
{
625625
mCRS = crs;
626-
mTransformContext = transform;
626+
mTransformContext = transformContext;
627627
invalidateGraph();
628628
}
629629

630-
void QgsTracer::setRenderContext( const QgsRenderContext *render )
630+
void QgsTracer::setRenderContext( const QgsRenderContext *renderContext )
631631
{
632-
mRenderContext = std::unique_ptr<QgsRenderContext>( new QgsRenderContext( *render ) );
632+
mRenderContext = std::unique_ptr<QgsRenderContext>( new QgsRenderContext( *renderContext ) );
633633
invalidateGraph();
634634
}
635635

‎src/core/qgstracer.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ class CORE_EXPORT QgsTracer : public QObject
6363
QgsCoordinateReferenceSystem destinationCrs() const { return mCRS; }
6464

6565
/**
66-
* Sets the \a crs and transform \a context used for tracing.
66+
* Sets the \a crs and \a transformContext used for tracing.
6767
* \see destinationCrs()
6868
*/
69-
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transform );
69+
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext );
7070

7171
/**
72-
* Sets the \a render context used for tracing only on visible features.
72+
* Sets the \a renderContext used for tracing only on visible features.
7373
*/
74-
void setRenderContext( const QgsRenderContext *render );
74+
void setRenderContext( const QgsRenderContext *renderContext );
7575

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

0 commit comments

Comments
 (0)
Please sign in to comment.