Skip to content

Commit

Permalink
run sipify
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed May 28, 2018
1 parent 0fa85bb commit 65bb60e
Show file tree
Hide file tree
Showing 116 changed files with 816 additions and 819 deletions.
16 changes: 8 additions & 8 deletions python/core/auto_generated/dxf/qgsdxfexport.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,18 @@ Set map settings and assign layer name attributes
%Docstring
Sets the export flags.

.. versionadded:: 3.0

.. seealso:: :py:func:`flags`

.. versionadded:: 3.0
%End

QgsDxfExport::Flags flags() const;
%Docstring
Returns the export flags.

.. versionadded:: 3.0

.. seealso:: :py:func:`setFlags`

.. versionadded:: 3.0
%End

void addLayers( const QList< QgsDxfExport::DxfLayer > &layers );
Expand All @@ -98,19 +98,19 @@ Add layers to export
Set reference ``scale`` for output.
The ``scale`` value indicates the scale denominator, e.g. 1000.0 for a 1:1000 map.

.. versionadded:: 3.0

.. seealso:: :py:func:`symbologyScale`

.. versionadded:: 3.0
%End

double symbologyScale() const;
%Docstring
Returns the reference scale for output.
The scale value indicates the scale denominator, e.g. 1000.0 for a 1:1000 map.

.. versionadded:: 3.0

.. seealso:: :py:func:`setSymbologyScale`

.. versionadded:: 3.0
%End

QgsUnitTypes::DistanceUnit mapUnits() const;
Expand Down
4 changes: 2 additions & 2 deletions python/core/auto_generated/effects/qgsimageoperation.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ Calculates the non-transparent region of an image.
it will be centered in the returned rectangle.
:param center: return rectangle will be centered on the center of the original image if set to true

.. versionadded:: 2.9

.. seealso:: :py:func:`cropTransparent`

.. versionadded:: 2.9
%End

static QImage cropTransparent( const QImage &image, QSize minSize = QSize(), bool center = false );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ Tests whether a paint effect matches the default effects stack.

:return: true if effect is default stack

.. versionadded:: 2.12

.. seealso:: :py:func:`defaultStack`

.. versionadded:: 2.12
%End

private:
Expand Down
28 changes: 14 additions & 14 deletions python/core/auto_generated/expression/qgsexpression.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,11 @@ Returns the desired distance units for calculations involving geomCalculator(),

distances are only converted when a geomCalculator() has been set

.. versionadded:: 2.14

.. seealso:: :py:func:`setDistanceUnits`

.. seealso:: :py:func:`areaUnits`

.. versionadded:: 2.14
%End

void setDistanceUnits( QgsUnitTypes::DistanceUnit unit );
Expand All @@ -326,11 +326,11 @@ Sets the desired distance units for calculations involving geomCalculator(), e.g

distances are only converted when a geomCalculator() has been set

.. versionadded:: 2.14

.. seealso:: :py:func:`distanceUnits`

.. seealso:: :py:func:`setAreaUnits`

.. versionadded:: 2.14
%End

QgsUnitTypes::AreaUnit areaUnits() const;
Expand All @@ -341,11 +341,11 @@ Returns the desired areal units for calculations involving geomCalculator(), e.g

areas are only converted when a geomCalculator() has been set

.. versionadded:: 2.14

.. seealso:: :py:func:`setAreaUnits`

.. seealso:: :py:func:`distanceUnits`

.. versionadded:: 2.14
%End

void setAreaUnits( QgsUnitTypes::AreaUnit unit );
Expand All @@ -356,11 +356,11 @@ Sets the desired areal units for calculations involving geomCalculator(), e.g.,

areas are only converted when a geomCalculator() has been set

.. versionadded:: 2.14

.. seealso:: :py:func:`areaUnits`

.. seealso:: :py:func:`setDistanceUnits`

.. versionadded:: 2.14
%End

static QString replaceExpressionText( const QString &action, const QgsExpressionContext *context,
Expand Down Expand Up @@ -398,12 +398,12 @@ value.

:return: evaluated double value, or fallback value

.. versionadded:: 2.7

.. note::

this method is inefficient for bulk evaluation of expressions, it is intended
for one-off evaluations only.

.. versionadded:: 2.7
%End

enum SpatialOperator
Expand Down Expand Up @@ -494,11 +494,11 @@ quotations where required.

:param value: value to convert to a string representation

.. versionadded:: 2.14

.. seealso:: :py:func:`quotedString`

.. seealso:: :py:func:`quotedColumnRef`

.. versionadded:: 2.14
%End

static QString quotedValue( const QVariant &value, QVariant::Type type );
Expand All @@ -509,11 +509,11 @@ quotations where required.
:param value: value to convert to a string representation
:param type: value type

.. versionadded:: 2.14

.. seealso:: :py:func:`quotedString`

.. seealso:: :py:func:`quotedColumnRef`

.. versionadded:: 2.14
%End


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ Returns the first group which the function belongs to.
%Docstring
Returns a list of the groups the function belongs to.

.. versionadded:: 3.0

.. seealso:: :py:func:`group`

.. versionadded:: 3.0
%End

const QString helpText() const;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -542,11 +542,11 @@ Adds a z-dimension to the geometry, initialized to a preset value.

:return: true on success

.. versionadded:: 2.12

.. seealso:: :py:func:`dropZValue`

.. seealso:: :py:func:`addMValue`

.. versionadded:: 2.12
%End

virtual bool addMValue( double mValue = 0 ) = 0;
Expand All @@ -557,11 +557,11 @@ Adds a measure to the geometry, initialized to a preset value.

:return: true on success

.. versionadded:: 2.12

.. seealso:: :py:func:`dropMValue`

.. seealso:: :py:func:`addZValue`

.. versionadded:: 2.12
%End

virtual bool dropZValue() = 0;
Expand Down
4 changes: 2 additions & 2 deletions python/core/auto_generated/geometry/qgsbox3d.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ A 3-dimensional box composed of x, y, z coordinates.
A box composed of x/y/z minimum and maximum values. It is often used to return the 3D
extent of a geometry or collection of geometries.

.. versionadded:: 3.0

.. seealso:: :py:class:`QgsRectangle`

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
9 changes: 4 additions & 5 deletions python/core/auto_generated/geometry/qgscircle.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,9 @@ Note that this method is 2D only and does not consider the z-value of the circle

:return: true if tangent was found.

.. versionadded:: 3.2


.. seealso:: :py:func:`outerTangents`

.. versionadded:: 3.2
%End

int outerTangents( const QgsCircle &other,
Expand All @@ -185,9 +184,9 @@ Returns the number of tangents (either 0 or 2).

Note that this method is 2D only and does not consider the z-value of the circle.

.. versionadded:: 3.2

.. seealso:: :py:func:`tangentToPoint`

.. versionadded:: 3.2
%End

virtual double area() const;
Expand Down
4 changes: 2 additions & 2 deletions python/core/auto_generated/geometry/qgscurvepolygon.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ Removes the interior rings from the polygon. If the minimumAllowedArea
parameter is specified then only rings smaller than this minimum
area will be removed.

.. versionadded:: 3.0

.. seealso:: :py:func:`removeInteriorRing`

.. versionadded:: 3.0
%End

virtual void draw( QPainter &p ) const;
Expand Down
Loading

0 comments on commit 65bb60e

Please sign in to comment.