Skip to content

Commit 65bb60e

Browse files
committed
run sipify
1 parent 0fa85bb commit 65bb60e

116 files changed

Lines changed: 816 additions & 819 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎python/core/auto_generated/dxf/qgsdxfexport.sip.in‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,18 @@ Set map settings and assign layer name attributes
6868
%Docstring
6969
Sets the export flags.
7070

71-
.. versionadded:: 3.0
72-
7371
.. seealso:: :py:func:`flags`
72+
73+
.. versionadded:: 3.0
7474
%End
7575

7676
QgsDxfExport::Flags flags() const;
7777
%Docstring
7878
Returns the export flags.
7979

80-
.. versionadded:: 3.0
81-
8280
.. seealso:: :py:func:`setFlags`
81+
82+
.. versionadded:: 3.0
8383
%End
8484

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

101-
.. versionadded:: 3.0
102-
103101
.. seealso:: :py:func:`symbologyScale`
102+
103+
.. versionadded:: 3.0
104104
%End
105105

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

111-
.. versionadded:: 3.0
112-
113111
.. seealso:: :py:func:`setSymbologyScale`
112+
113+
.. versionadded:: 3.0
114114
%End
115115

116116
QgsUnitTypes::DistanceUnit mapUnits() const;

‎python/core/auto_generated/effects/qgsimageoperation.sip.in‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ Calculates the non-transparent region of an image.
166166
it will be centered in the returned rectangle.
167167
:param center: return rectangle will be centered on the center of the original image if set to true
168168

169-
.. versionadded:: 2.9
170-
171169
.. seealso:: :py:func:`cropTransparent`
170+
171+
.. versionadded:: 2.9
172172
%End
173173

174174
static QImage cropTransparent( const QImage &image, QSize minSize = QSize(), bool center = false );

‎python/core/auto_generated/effects/qgspainteffectregistry.sip.in‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ Tests whether a paint effect matches the default effects stack.
167167

168168
:return: true if effect is default stack
169169

170-
.. versionadded:: 2.12
171-
172170
.. seealso:: :py:func:`defaultStack`
171+
172+
.. versionadded:: 2.12
173173
%End
174174

175175
private:

‎python/core/auto_generated/expression/qgsexpression.sip.in‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -311,11 +311,11 @@ Returns the desired distance units for calculations involving geomCalculator(),
311311

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

314-
.. versionadded:: 2.14
315-
316314
.. seealso:: :py:func:`setDistanceUnits`
317315

318316
.. seealso:: :py:func:`areaUnits`
317+
318+
.. versionadded:: 2.14
319319
%End
320320

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

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

329-
.. versionadded:: 2.14
330-
331329
.. seealso:: :py:func:`distanceUnits`
332330

333331
.. seealso:: :py:func:`setAreaUnits`
332+
333+
.. versionadded:: 2.14
334334
%End
335335

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

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

344-
.. versionadded:: 2.14
345-
346344
.. seealso:: :py:func:`setAreaUnits`
347345

348346
.. seealso:: :py:func:`distanceUnits`
347+
348+
.. versionadded:: 2.14
349349
%End
350350

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

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

359-
.. versionadded:: 2.14
360-
361359
.. seealso:: :py:func:`areaUnits`
362360

363361
.. seealso:: :py:func:`setDistanceUnits`
362+
363+
.. versionadded:: 2.14
364364
%End
365365

366366
static QString replaceExpressionText( const QString &action, const QgsExpressionContext *context,
@@ -398,12 +398,12 @@ value.
398398

399399
:return: evaluated double value, or fallback value
400400

401-
.. versionadded:: 2.7
402-
403401
.. note::
404402

405403
this method is inefficient for bulk evaluation of expressions, it is intended
406404
for one-off evaluations only.
405+
406+
.. versionadded:: 2.7
407407
%End
408408

409409
enum SpatialOperator
@@ -494,11 +494,11 @@ quotations where required.
494494

495495
:param value: value to convert to a string representation
496496

497-
.. versionadded:: 2.14
498-
499497
.. seealso:: :py:func:`quotedString`
500498

501499
.. seealso:: :py:func:`quotedColumnRef`
500+
501+
.. versionadded:: 2.14
502502
%End
503503

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

512-
.. versionadded:: 2.14
513-
514512
.. seealso:: :py:func:`quotedString`
515513

516514
.. seealso:: :py:func:`quotedColumnRef`
515+
516+
.. versionadded:: 2.14
517517
%End
518518

519519

‎python/core/auto_generated/expression/qgsexpressionfunction.sip.in‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ Returns the first group which the function belongs to.
224224
%Docstring
225225
Returns a list of the groups the function belongs to.
226226

227-
.. versionadded:: 3.0
228-
229227
.. seealso:: :py:func:`group`
228+
229+
.. versionadded:: 3.0
230230
%End
231231

232232
const QString helpText() const;

‎python/core/auto_generated/geometry/qgsabstractgeometry.sip.in‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -542,11 +542,11 @@ Adds a z-dimension to the geometry, initialized to a preset value.
542542

543543
:return: true on success
544544

545-
.. versionadded:: 2.12
546-
547545
.. seealso:: :py:func:`dropZValue`
548546

549547
.. seealso:: :py:func:`addMValue`
548+
549+
.. versionadded:: 2.12
550550
%End
551551

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

558558
:return: true on success
559559

560-
.. versionadded:: 2.12
561-
562560
.. seealso:: :py:func:`dropMValue`
563561

564562
.. seealso:: :py:func:`addZValue`
563+
564+
.. versionadded:: 2.12
565565
%End
566566

567567
virtual bool dropZValue() = 0;

‎python/core/auto_generated/geometry/qgsbox3d.sip.in‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ A 3-dimensional box composed of x, y, z coordinates.
1717
A box composed of x/y/z minimum and maximum values. It is often used to return the 3D
1818
extent of a geometry or collection of geometries.
1919

20-
.. versionadded:: 3.0
21-
2220
.. seealso:: :py:class:`QgsRectangle`
21+
22+
.. versionadded:: 3.0
2323
%End
2424

2525
%TypeHeaderCode

‎python/core/auto_generated/geometry/qgscircle.sip.in‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,9 @@ Note that this method is 2D only and does not consider the z-value of the circle
159159

160160
:return: true if tangent was found.
161161

162-
.. versionadded:: 3.2
163-
164-
165162
.. seealso:: :py:func:`outerTangents`
163+
164+
.. versionadded:: 3.2
166165
%End
167166

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

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

188-
.. versionadded:: 3.2
189-
190187
.. seealso:: :py:func:`tangentToPoint`
188+
189+
.. versionadded:: 3.2
191190
%End
192191

193192
virtual double area() const;

‎python/core/auto_generated/geometry/qgscurvepolygon.sip.in‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ Removes the interior rings from the polygon. If the minimumAllowedArea
120120
parameter is specified then only rings smaller than this minimum
121121
area will be removed.
122122

123-
.. versionadded:: 3.0
124-
125123
.. seealso:: :py:func:`removeInteriorRing`
124+
125+
.. versionadded:: 3.0
126126
%End
127127

128128
virtual void draw( QPainter &p ) const;

0 commit comments

Comments
 (0)