Skip to content
Permalink
Browse files

run sipify

  • Loading branch information
3nids committed May 28, 2018
1 parent 0fa85bb commit 65bb60e96cfff60f1ee5a5ede5733d948dfed37a
Showing with 816 additions and 819 deletions.
  1. +8 −8 python/core/auto_generated/dxf/qgsdxfexport.sip.in
  2. +2 −2 python/core/auto_generated/effects/qgsimageoperation.sip.in
  3. +2 −2 python/core/auto_generated/effects/qgspainteffectregistry.sip.in
  4. +14 −14 python/core/auto_generated/expression/qgsexpression.sip.in
  5. +2 −2 python/core/auto_generated/expression/qgsexpressionfunction.sip.in
  6. +4 −4 python/core/auto_generated/geometry/qgsabstractgeometry.sip.in
  7. +2 −2 python/core/auto_generated/geometry/qgsbox3d.sip.in
  8. +4 −5 python/core/auto_generated/geometry/qgscircle.sip.in
  9. +2 −2 python/core/auto_generated/geometry/qgscurvepolygon.sip.in
  10. +52 −52 python/core/auto_generated/geometry/qgsgeometry.sip.in
  11. +8 −8 python/core/auto_generated/geometry/qgsgeometryutils.sip.in
  12. +4 −4 python/core/auto_generated/geometry/qgspoint.sip.in
  13. +6 −6 python/core/auto_generated/geometry/qgsrectangle.sip.in
  14. +2 −2 python/core/auto_generated/geometry/qgsreferencedgeometry.sip.in
  15. +10 −10 python/core/auto_generated/geometry/qgswkbtypes.sip.in
  16. +8 −8 python/core/auto_generated/layertree/qgslayertreemodel.sip.in
  17. +4 −4 python/core/auto_generated/layertree/qgslayertreemodellegendnode.sip.in
  18. +4 −4 python/core/auto_generated/layout/qgslayoutitemmapgrid.sip.in
  19. +2 −2 python/core/auto_generated/layout/qgslayoutitemmapitem.sip.in
  20. +4 −4 python/core/auto_generated/layout/qgslayoutitemmapoverview.sip.in
  21. +2 −2 python/core/auto_generated/layout/qgslayoutpoint.sip.in
  22. +2 −2 python/core/auto_generated/layout/qgslayoutsize.sip.in
  23. +6 −6 python/core/auto_generated/processing/qgsprocessingalgorithm.sip.in
  24. +12 −12 python/core/auto_generated/processing/qgsprocessingcontext.sip.in
  25. +4 −4 python/core/auto_generated/qgis.sip.in
  26. +8 −8 python/core/auto_generated/qgsapplication.sip.in
  27. +4 −4 python/core/auto_generated/qgsbrowsermodel.sip.in
  28. +4 −4 python/core/auto_generated/qgscolorscheme.sip.in
  29. +8 −8 python/core/auto_generated/qgscoordinatereferencesystem.sip.in
  30. +8 −8 python/core/auto_generated/qgsdiagramrenderer.sip.in
  31. +16 −16 python/core/auto_generated/qgsdistancearea.sip.in
  32. +8 −8 python/core/auto_generated/qgsexpressioncontext.sip.in
  33. +4 −4 python/core/auto_generated/qgsfeature.sip.in
  34. +8 −8 python/core/auto_generated/qgsfeaturerequest.sip.in
  35. +2 −2 python/core/auto_generated/qgsfeedback.sip.in
  36. +8 −8 python/core/auto_generated/qgsfield.sip.in
  37. +12 −12 python/core/auto_generated/qgsfontutils.sip.in
  38. +4 −4 python/core/auto_generated/qgsmaphittest.sip.in
  39. +22 −22 python/core/auto_generated/qgsmaplayer.sip.in
  40. +2 −2 python/core/auto_generated/qgsmaplayermodel.sip.in
  41. +2 −2 python/core/auto_generated/qgsmaplayerproxymodel.sip.in
  42. +2 −2 python/core/auto_generated/qgsmaprenderercache.sip.in
  43. +4 −4 python/core/auto_generated/qgsmaprendererjob.sip.in
  44. +24 −24 python/core/auto_generated/qgsmapsettings.sip.in
  45. +4 −4 python/core/auto_generated/qgsmapthemecollection.sip.in
  46. +2 −2 python/core/auto_generated/qgsnetworkaccessmanager.sip.in
  47. +2 −2 python/core/auto_generated/qgsnetworkcontentfetcher.sip.in
  48. +4 −4 python/core/auto_generated/qgspallabeling.sip.in
  49. +36 −36 python/core/auto_generated/qgsproject.sip.in
  50. +2 −2 python/core/auto_generated/qgsprojectproperty.sip.in
  51. +8 −8 python/core/auto_generated/qgsrange.sip.in
  52. +2 −2 python/core/auto_generated/qgsrelation.sip.in
  53. +2 −2 python/core/auto_generated/qgsrelationmanager.sip.in
  54. +18 −18 python/core/auto_generated/qgsrendercontext.sip.in
  55. +4 −4 python/core/auto_generated/qgstextrenderer.sip.in
  56. +4 −4 python/core/auto_generated/qgsunittypes.sip.in
  57. +2 −2 python/core/auto_generated/qgsvector.sip.in
  58. +8 −8 python/core/auto_generated/qgsvectordataprovider.sip.in
  59. +10 −10 python/core/auto_generated/qgsvectorfilewriter.sip.in
  60. +2 −2 python/core/auto_generated/qgsvectorfilewritertask.sip.in
  61. +32 −32 python/core/auto_generated/qgsvectorlayer.sip.in
  62. +4 −4 python/core/auto_generated/qgsvectorlayercache.sip.in
  63. +10 −10 python/core/auto_generated/qgsvectorlayereditbuffer.sip.in
  64. +2 −2 python/core/auto_generated/qgsvectorlayerexporter.sip.in
  65. +4 −4 python/core/auto_generated/qgsvectorlayerutils.sip.in
  66. +4 −4 python/core/auto_generated/qgsvirtuallayerdefinition.sip.in
  67. +4 −4 python/core/auto_generated/raster/qgscolorrampshader.sip.in
  68. +10 −10 python/core/auto_generated/raster/qgspalettedrasterrenderer.sip.in
  69. +4 −4 python/core/auto_generated/raster/qgsrasterblock.sip.in
  70. +1 −0 python/core/auto_generated/raster/qgsrasterdataprovider.sip.in
  71. +2 −2 python/core/auto_generated/raster/qgsrasterfilewriter.sip.in
  72. +40 −40 python/core/auto_generated/symbology/qgsfillsymbollayer.sip.in
  73. +4 −4 python/core/auto_generated/symbology/qgslinesymbollayer.sip.in
  74. +8 −8 python/core/auto_generated/symbology/qgsmarkersymbollayer.sip.in
  75. +14 −14 python/core/auto_generated/symbology/qgsrenderer.sip.in
  76. +8 −8 python/core/auto_generated/symbology/qgsstyle.sip.in
  77. +30 −30 python/core/auto_generated/symbology/qgssymbol.sip.in
  78. +16 −16 python/core/auto_generated/symbology/qgssymbollayer.sip.in
  79. +2 −2 python/core/auto_generated/symbology/qgssymbollayerutils.sip.in
  80. +2 −2 python/gui/auto_generated/editorwidgets/core/qgseditorwidgetregistry.sip.in
  81. +4 −4 python/gui/auto_generated/editorwidgets/core/qgseditorwidgetwrapper.sip.in
  82. +8 −8 python/gui/auto_generated/editorwidgets/core/qgssearchwidgetwrapper.sip.in
  83. +4 −4 python/gui/auto_generated/editorwidgets/core/qgswidgetwrapper.sip.in
  84. +6 −6 python/gui/auto_generated/effects/qgseffectstackpropertieswidget.sip.in
  85. +4 −4 python/gui/auto_generated/processing/qgsprocessingalgorithmdialogbase.sip.in
  86. +26 −26 python/gui/auto_generated/qgisinterface.sip.in
  87. +4 −4 python/gui/auto_generated/qgsadvanceddigitizingdockwidget.sip.in
  88. +4 −4 python/gui/auto_generated/qgsattributeform.sip.in
  89. +0 −1 python/gui/auto_generated/qgscheckablecombobox.sip.in
  90. +2 −2 python/gui/auto_generated/qgscodeeditor.sip.in
  91. +2 −2 python/gui/auto_generated/qgscodeeditorhtml.sip.in
  92. +2 −2 python/gui/auto_generated/qgscodeeditorpython.sip.in
  93. +2 −2 python/gui/auto_generated/qgscodeeditorsql.sip.in
  94. +6 −6 python/gui/auto_generated/qgscolorbutton.sip.in
  95. +6 −6 python/gui/auto_generated/qgscolorschemelist.sip.in
  96. +6 −6 python/gui/auto_generated/qgscompoundcolorwidget.sip.in
  97. +4 −4 python/gui/auto_generated/qgsextentgroupbox.sip.in
  98. +26 −26 python/gui/auto_generated/qgsmapcanvas.sip.in
  99. +4 −4 python/gui/auto_generated/qgsmaplayercombobox.sip.in
  100. +1 −1 python/gui/auto_generated/qgsmaplayerconfigwidgetfactory.sip.in
  101. +2 −2 python/gui/auto_generated/qgsmapmouseevent.sip.in
  102. +4 −4 python/gui/auto_generated/qgsmenuheader.sip.in
  103. +4 −4 python/gui/auto_generated/qgsmetadatawidget.sip.in
  104. +2 −2 python/gui/auto_generated/qgsnewmemorylayerdialog.sip.in
  105. +8 −8 python/gui/auto_generated/qgsnewnamedialog.sip.in
  106. +2 −2 python/gui/auto_generated/qgsnewvectorlayerdialog.sip.in
  107. +4 −4 python/gui/auto_generated/qgsprevieweffect.sip.in
  108. +6 −6 python/gui/auto_generated/qgsprojectionselectiondialog.sip.in
  109. +12 −12 python/gui/auto_generated/qgsprojectionselectiontreewidget.sip.in
  110. +2 −2 python/gui/auto_generated/qgsprojectionselectionwidget.sip.in
  111. +4 −4 python/gui/auto_generated/qgssubstitutionlistwidget.sip.in
  112. +2 −2 python/gui/auto_generated/qgsunitselectionwidget.sip.in
  113. +4 −4 python/gui/auto_generated/qgsvertexmarker.sip.in
  114. +3 −4 python/server/auto_generated/qgsfeaturefilter.sip.in
  115. +3 −4 python/server/auto_generated/qgsfeaturefilterprovidergroup.sip.in
  116. +2 −2 python/server/auto_generated/qgsmapserviceexception.sip.in
@@ -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 );
@@ -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;
@@ -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 );
@@ -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:
@@ -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 );
@@ -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;
@@ -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 );
@@ -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,
@@ -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
@@ -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 );
@@ -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


@@ -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;
@@ -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;
@@ -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;
@@ -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
@@ -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,
@@ -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;
@@ -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;

0 comments on commit 65bb60e

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