Skip to content

Commit 4f9a9e0

Browse files
committed
s/( )/()/; s/== /== /; s/!= /!= /;
1 parent f814ba0 commit 4f9a9e0

File tree

104 files changed

+288
-288
lines changed

Some content is hidden

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

104 files changed

+288
-288
lines changed

python/core/geometry/qgsregularpolygon.sip

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -137,45 +137,45 @@ A regular polygon is empty if radius equal to 0 or number of sides < 3
137137
.. seealso:: numberSides()
138138
%End
139139

140-
QgsPointSequence points( ) const;
140+
QgsPointSequence points() const;
141141
%Docstring
142142
Returns a list including the vertices of the regular polygon.
143143
:rtype: QgsPointSequence
144144
%End
145145

146-
QgsPolygonV2 *toPolygon( ) const /Factory/;
146+
QgsPolygonV2 *toPolygon() const /Factory/;
147147
%Docstring
148148
Returns as a polygon.
149149
:rtype: QgsPolygonV2
150150
%End
151151

152-
QgsLineString *toLineString( ) const /Factory/;
152+
QgsLineString *toLineString() const /Factory/;
153153
%Docstring
154154
Returns as a linestring.
155155
:rtype: QgsLineString
156156
%End
157157

158-
QgsTriangle toTriangle( ) const;
158+
QgsTriangle toTriangle() const;
159159
%Docstring
160160
Returns as a triangle.
161161
An empty triangle is returned if the regular polygon is empty or if the number of sides is different from 3.
162162
:rtype: QgsTriangle
163163
%End
164164

165-
QList<QgsTriangle> triangulate( ) const;
165+
QList<QgsTriangle> triangulate() const;
166166
%Docstring
167167
Returns a triangulation (vertices from sides to the center) of the regular polygon.
168168
An empty list is returned if the regular polygon is empty.
169169
:rtype: list of QgsTriangle
170170
%End
171171

172-
QgsCircle inscribedCircle( ) const;
172+
QgsCircle inscribedCircle() const;
173173
%Docstring
174174
Returns the inscribed circle
175175
:rtype: QgsCircle
176176
%End
177177

178-
QgsCircle circumscribedCircle( ) const;
178+
QgsCircle circumscribedCircle() const;
179179
%Docstring
180180
Returns the circumscribed circle
181181
:rtype: QgsCircle
@@ -188,33 +188,33 @@ A regular polygon is empty if radius equal to 0 or number of sides < 3
188188
:rtype: str
189189
%End
190190

191-
double interiorAngle( ) const;
191+
double interiorAngle() const;
192192
%Docstring
193193
Returns the measure of the interior angles in degrees.
194194
:rtype: float
195195
%End
196196

197-
double centralAngle( ) const;
197+
double centralAngle() const;
198198
%Docstring
199199
Returns the measure of the central angle (the angle subtended at the center of the polygon by one of its sides) in degrees.
200200
:rtype: float
201201
%End
202202

203-
double area( ) const;
203+
double area() const;
204204
%Docstring
205205
Returns the area.
206206
Returns 0 if the regular polygon is empty.
207207
:rtype: float
208208
%End
209209

210-
double perimeter( ) const;
210+
double perimeter() const;
211211
%Docstring
212212
Returns the perimeter.
213213
Returns 0 if the regular polygon is empty.
214214
:rtype: float
215215
%End
216216

217-
double length( ) const;
217+
double length() const;
218218
%Docstring
219219
Returns the length of a side.
220220
Returns 0 if the regular polygon is empty.

python/core/geometry/qgstriangle.sip

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Inherited method not used. You cannot delete or insert a vertex directly. Return
201201
:rtype: bool
202202
%End
203203

204-
QVector<QgsLineString> altitudes( ) const;
204+
QVector<QgsLineString> altitudes() const;
205205
%Docstring
206206
An altitude is a segment (defined by a QgsLineString) from a vertex to the opposite side (or, if necessary, to the extension of the opposite side).
207207
:return: Three altitudes from this triangle
@@ -214,7 +214,7 @@ Inherited method not used. You cannot delete or insert a vertex directly. Return
214214
:rtype: list of QgsLineString
215215
%End
216216

217-
QVector<QgsLineString> medians( ) const;
217+
QVector<QgsLineString> medians() const;
218218
%Docstring
219219
A median is a segment (defined by a QgsLineString) from a vertex to the midpoint of the opposite side.
220220
:return: Three medians from this triangle
@@ -241,7 +241,7 @@ Inherited method not used. You cannot delete or insert a vertex directly. Return
241241
:rtype: list of QgsLineString
242242
%End
243243

244-
QgsTriangle medial( ) const;
244+
QgsTriangle medial() const;
245245
%Docstring
246246
Medial (or midpoint) triangle of a triangle ABC is the triangle with vertices at the midpoints of the triangle's sides.
247247
:return: The medial from this triangle
@@ -268,7 +268,7 @@ Inherited method not used. You cannot delete or insert a vertex directly. Return
268268
:rtype: QgsPoint
269269
%End
270270

271-
QgsPoint circumscribedCenter( ) const;
271+
QgsPoint circumscribedCenter() const;
272272
%Docstring
273273
Center of the circumscribed circle of the triangle.
274274
:return: The center of the circumscribed circle of the triangle
@@ -281,7 +281,7 @@ Inherited method not used. You cannot delete or insert a vertex directly. Return
281281
:rtype: QgsPoint
282282
%End
283283

284-
double circumscribedRadius( ) const;
284+
double circumscribedRadius() const;
285285
%Docstring
286286
Radius of the circumscribed circle of the triangle.
287287
:return: The radius of the circumscribed circle of the triangle
@@ -294,7 +294,7 @@ Inherited method not used. You cannot delete or insert a vertex directly. Return
294294
:rtype: float
295295
%End
296296

297-
QgsCircle circumscribedCircle( ) const;
297+
QgsCircle circumscribedCircle() const;
298298
%Docstring
299299
Circumscribed circle of the triangle.
300300
@return The circumbscribed of the triangle with a QgsCircle.
@@ -307,7 +307,7 @@ Inherited method not used. You cannot delete or insert a vertex directly. Return
307307
:rtype: QgsCircle
308308
%End
309309

310-
QgsPoint inscribedCenter( ) const;
310+
QgsPoint inscribedCenter() const;
311311
%Docstring
312312
Center of the inscribed circle of the triangle.
313313
:return: The center of the inscribed circle of the triangle
@@ -320,7 +320,7 @@ Inherited method not used. You cannot delete or insert a vertex directly. Return
320320
:rtype: QgsPoint
321321
%End
322322

323-
double inscribedRadius( ) const;
323+
double inscribedRadius() const;
324324
%Docstring
325325
Radius of the inscribed circle of the triangle.
326326
:return: The radius of the inscribed circle of the triangle
@@ -333,7 +333,7 @@ Inherited method not used. You cannot delete or insert a vertex directly. Return
333333
:rtype: float
334334
%End
335335

336-
QgsCircle inscribedCircle( ) const;
336+
QgsCircle inscribedCircle() const;
337337
%Docstring
338338
Inscribed circle of the triangle.
339339
@return The inscribed of the triangle with a QgsCircle.

python/core/qgsbrowsermodel.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Refresh item children
139139
%Docstring
140140
Emitted when item children fetch was finished
141141
%End
142-
void connectionsChanged( );
142+
void connectionsChanged();
143143
%Docstring
144144
notify the provider dialogs of a changed connection
145145
%End

python/core/qgsdataitem.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ Refresh connections: update GUI and emit signal
318318
void endRemoveItems();
319319
void dataChanged( QgsDataItem *item );
320320
void stateChanged( QgsDataItem *item, QgsDataItem::State oldState );
321-
void connectionsChanged( );
321+
void connectionsChanged();
322322
%Docstring
323323
open browsers
324324
%End

python/gui/qgsabstractdatasourcewidget.sip

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class QgsAbstractDataSourceWidget : QDialog
2626
%End
2727
public:
2828

29-
~QgsAbstractDataSourceWidget( );
29+
~QgsAbstractDataSourceWidget();
3030
%Docstring
3131
Destructor
3232
%End
@@ -40,7 +40,7 @@ Destructor
4040

4141
public slots:
4242

43-
virtual void refresh( );
43+
virtual void refresh();
4444
%Docstring
4545
Triggered when the provider's connections need to be refreshed
4646
The default implementation does nothing
@@ -86,13 +86,13 @@ Emitted when a progress dialog is shown by the provider dialog
8686
Constructor
8787
%End
8888

89-
QgsProviderRegistry::WidgetMode widgetMode( ) const;
89+
QgsProviderRegistry::WidgetMode widgetMode() const;
9090
%Docstring
9191
Return the widget mode
9292
:rtype: QgsProviderRegistry.WidgetMode
9393
%End
9494

95-
const QgsMapCanvas *mapCanvas( ) const;
95+
const QgsMapCanvas *mapCanvas() const;
9696
%Docstring
9797
Return the map canvas (can be null)
9898
:rtype: QgsMapCanvas

python/gui/qgsbrowserdockwidget.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Emitted when a file needs to be opened
121121
%Docstring
122122
Emitted when drop uri list needs to be handled
123123
%End
124-
void connectionsChanged( );
124+
void connectionsChanged();
125125
%Docstring
126126
Connections changed in the browser
127127
%End

python/gui/qgsbrowsertreeview.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class QgsBrowserTreeView : QTreeView
2929
%Docstring
3030
Set the browser model
3131
%End
32-
QgsBrowserModel *browserModel( );
32+
QgsBrowserModel *browserModel();
3333
%Docstring
3434
Return the browser model
3535
:rtype: QgsBrowserModel

python/gui/qgsowssourceselect.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Constructor
4242

4343
public slots:
4444

45-
virtual void refresh( );
45+
virtual void refresh();
4646

4747
%Docstring
4848
Triggered when the provider's connections need to be refreshed

python/server/qgsbufferserverrequest.sip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ class QgsBufferServerRequest : QgsServerRequest
2121
%End
2222
public:
2323

24-
QgsBufferServerRequest( const QString &url, QgsServerRequest::Method method = QgsServerRequest::GetMethod, const QgsServerRequest::Headers &headers = QgsServerRequest::Headers( ), QByteArray *data = 0 );
24+
QgsBufferServerRequest( const QString &url, QgsServerRequest::Method method = QgsServerRequest::GetMethod, const QgsServerRequest::Headers &headers = QgsServerRequest::Headers(), QByteArray *data = 0 );
2525
%Docstring
2626
Constructor
2727

2828
\param url the url string
2929
\param method the request method
3030
%End
3131

32-
QgsBufferServerRequest( const QUrl &url, QgsServerRequest::Method method = QgsServerRequest::GetMethod, const QgsServerRequest::Headers &headers = QgsServerRequest::Headers( ), QByteArray *data = 0 );
32+
QgsBufferServerRequest( const QUrl &url, QgsServerRequest::Method method = QgsServerRequest::GetMethod, const QgsServerRequest::Headers &headers = QgsServerRequest::Headers(), QByteArray *data = 0 );
3333
%Docstring
3434
Constructor
3535

python/server/qgsbufferserverresponse.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class QgsBufferServerResponse: QgsServerResponse
6666
\param code HTTP status code value
6767
%End
6868

69-
virtual int statusCode( ) const;
69+
virtual int statusCode() const;
7070
%Docstring
7171
Return the http status code
7272
:rtype: int

0 commit comments

Comments
 (0)