Skip to content

Commit 458cab7

Browse files
committedJan 17, 2018
run sipify
1 parent fe5a001 commit 458cab7

14 files changed

+46
-46
lines changed
 

‎python/core/auth/qgsauthcertutils.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ Get short strings describing an SSL error
312312

313313
static QList<QSslError> validateCertChain( const QList<QSslCertificate> &certificateChain,
314314
const QString &hostName = QString(),
315-
bool trustRootCa = false ) ;
315+
bool trustRootCa = false );
316316
%Docstring
317317
validateCertChain validates the given ``certificateChain``
318318

‎python/core/qgsrange.sip.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Returns true if this range overlaps another range.
246246
};
247247

248248

249-
typedef QgsTemporalRange< QDate > QgsDateRange ;
249+
typedef QgsTemporalRange< QDate > QgsDateRange;
250250
@TEMPLATE_DOCSTRING@%Docstring
251251
@TEMPLATE_DOCSTRING@QgsRange which stores a range of dates.
252252
@TEMPLATE_DOCSTRING@
@@ -260,7 +260,7 @@ typedef QgsTemporalRange< QDate > QgsDateRange ;
260260
@TEMPLATE_DOCSTRING@.. seealso:: :py:class:`QgsDateTimeRange`
261261
@TEMPLATE_DOCSTRING@%End
262262

263-
typedef QgsTemporalRange< QDateTime > QgsDateTimeRange ;
263+
typedef QgsTemporalRange< QDateTime > QgsDateTimeRange;
264264
@TEMPLATE_DOCSTRING@%Docstring
265265
@TEMPLATE_DOCSTRING@QgsRange which stores a range of date times.
266266
@TEMPLATE_DOCSTRING@

‎python/core/qgsrunprocess.sip.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ process and displays them in a dialog box.
3434
void dialogGone();
3535

3636
private:
37-
QgsRunProcess( const QString &action, bool capture ) ;
38-
~QgsRunProcess() ;
37+
QgsRunProcess( const QString &action, bool capture );
38+
~QgsRunProcess();
3939
};
4040

4141
/************************************************************************

‎python/core/symbology/qgsmarkersymbollayer.sip.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Calculates the marker offset and rotation.
194194

195195

196196
private:
197-
virtual void draw( QgsSymbolRenderContext &context, QgsSimpleMarkerSymbolLayerBase::Shape shape, const QPolygonF &polygon, const QPainterPath &path ) = 0 ;
197+
virtual void draw( QgsSymbolRenderContext &context, QgsSimpleMarkerSymbolLayerBase::Shape shape, const QPolygonF &polygon, const QPainterPath &path ) = 0;
198198
%Docstring
199199
Derived classes must implement draw() to handle drawing the generated shape onto the painter surface.
200200

@@ -467,7 +467,7 @@ Prepares cache image
467467

468468

469469
private:
470-
virtual void draw( QgsSymbolRenderContext &context, QgsSimpleMarkerSymbolLayerBase::Shape shape, const QPolygonF &polygon, const QPainterPath &path ) ;
470+
virtual void draw( QgsSymbolRenderContext &context, QgsSimpleMarkerSymbolLayerBase::Shape shape, const QPolygonF &polygon, const QPainterPath &path );
471471

472472
};
473473

@@ -532,7 +532,7 @@ Creates a new QgsFilledMarkerSymbolLayer.
532532

533533
private:
534534
QgsFilledMarkerSymbolLayer( const QgsFilledMarkerSymbolLayer & );
535-
virtual void draw( QgsSymbolRenderContext &context, QgsSimpleMarkerSymbolLayerBase::Shape shape, const QPolygonF &polygon, const QPainterPath &path ) ;
535+
virtual void draw( QgsSymbolRenderContext &context, QgsSimpleMarkerSymbolLayerBase::Shape shape, const QPolygonF &polygon, const QPainterPath &path );
536536

537537
};
538538

‎python/core/symbology/qgspointclusterrenderer.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Creates a QgsPointClusterRenderer from an existing renderer.
6666
private:
6767
QgsPointClusterRenderer( const QgsPointClusterRenderer & );
6868
QgsPointClusterRenderer &operator=( const QgsPointClusterRenderer & );
69-
virtual void drawGroup( QPointF centerPoint, QgsRenderContext &context, const QgsPointDistanceRenderer::ClusteredGroup &group ) ;
69+
virtual void drawGroup( QPointF centerPoint, QgsRenderContext &context, const QgsPointDistanceRenderer::ClusteredGroup &group );
7070

7171
};
7272

‎python/core/symbology/qgspointdisplacementrenderer.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Creates a QgsPointDisplacementRenderer from an existing renderer.
154154
private:
155155
QgsPointDisplacementRenderer( const QgsPointDisplacementRenderer & );
156156
QgsPointDisplacementRenderer &operator=( const QgsPointDisplacementRenderer & );
157-
virtual void drawGroup( QPointF centerPoint, QgsRenderContext &context, const QgsPointDistanceRenderer::ClusteredGroup &group ) ;
157+
virtual void drawGroup( QPointF centerPoint, QgsRenderContext &context, const QgsPointDistanceRenderer::ClusteredGroup &group );
158158

159159
};
160160

‎python/core/symbology/qgspointdistancerenderer.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ Renders the labels for a group.
297297
%End
298298

299299
private:
300-
virtual void drawGroup( QPointF centerPoint, QgsRenderContext &context, const ClusteredGroup &group ) = 0 ;
300+
virtual void drawGroup( QPointF centerPoint, QgsRenderContext &context, const ClusteredGroup &group ) = 0;
301301
%Docstring
302302
Draws a group of clustered points.
303303

‎python/core/symbology/qgssymbol.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ Will take ownership.
557557
%End
558558

559559
private:
560-
QgsSymbolRenderContext( const QgsSymbolRenderContext &rh ) ;
560+
QgsSymbolRenderContext( const QgsSymbolRenderContext &rh );
561561
};
562562

563563

‎python/gui/qgsrasterformatsaveoptionswidget.sip.in

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,17 @@ Reloads profiles list from QGIS settings
105105
%End
106106

107107
private slots:
108-
void mProfileNewButton_clicked() ;
109-
void mProfileDeleteButton_clicked() ;
110-
void mProfileResetButton_clicked() ;
111-
void mOptionsAddButton_clicked() ;
112-
void mOptionsDeleteButton_clicked() ;
113-
void mOptionsLineEdit_editingFinished() ;
114-
void optionsTableChanged() ;
115-
void optionsTableEnableDeleteButton() ;
116-
void updateOptions() ;
117-
void swapOptionsUI( int newIndex = -1 ) ;
118-
void updateControls() ;
108+
void mProfileNewButton_clicked();
109+
void mProfileDeleteButton_clicked();
110+
void mProfileResetButton_clicked();
111+
void mOptionsAddButton_clicked();
112+
void mOptionsDeleteButton_clicked();
113+
void mOptionsLineEdit_editingFinished();
114+
void optionsTableChanged();
115+
void optionsTableEnableDeleteButton();
116+
void updateOptions();
117+
void swapOptionsUI( int newIndex = -1 );
118+
void updateControls();
119119
protected:
120120
virtual void showEvent( QShowEvent *event );
121121

@@ -124,17 +124,17 @@ Reloads profiles list from QGIS settings
124124
void optionsChanged();
125125

126126
private:
127-
QString settingsKey( QString profile ) const ;
128-
QString currentProfileKey() const ;
129-
QString createOptions( const QString &profile ) const ;
130-
void deleteCreateOptions( const QString &profile ) ;
131-
void setCreateOptions() ;
132-
void setCreateOptions( const QString &profile, const QString &options ) ;
133-
void setCreateOptions( const QString &profile, const QStringList &list ) ;
134-
QStringList profiles() const ;
135-
virtual bool eventFilter( QObject *obj, QEvent *event ) ;
136-
137-
QString pseudoFormat() const ;
127+
QString settingsKey( QString profile ) const;
128+
QString currentProfileKey() const;
129+
QString createOptions( const QString &profile ) const;
130+
void deleteCreateOptions( const QString &profile );
131+
void setCreateOptions();
132+
void setCreateOptions( const QString &profile, const QString &options );
133+
void setCreateOptions( const QString &profile, const QStringList &list );
134+
QStringList profiles() const;
135+
virtual bool eventFilter( QObject *obj, QEvent *event );
136+
137+
QString pseudoFormat() const;
138138
};
139139

140140

‎python/gui/qgsrasterpyramidsoptionswidget.sip.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ Constructor for QgsRasterPyramidsOptionsWidget
4040
void checkAllLevels( bool checked );
4141

4242
private slots:
43-
void cbxPyramidsLevelsCustom_toggled( bool toggled ) ;
44-
void cbxPyramidsFormat_currentIndexChanged( int index ) ;
45-
void setOverviewList() ;
46-
void updateUi() ;
43+
void cbxPyramidsLevelsCustom_toggled( bool toggled );
44+
void cbxPyramidsFormat_currentIndexChanged( int index );
45+
void setOverviewList();
46+
void updateUi();
4747
signals:
4848
void overviewListChanged();
4949
void someValueChanged(); /* emitted when any other setting changes */

‎python/gui/symbology/qgs25drendererwidget.sip.in

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

3939

4040
private:
41-
virtual void apply() ;
41+
virtual void apply();
4242

4343
};
4444

‎python/gui/symbology/qgsrendererwidget.sip.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Change marker angles of selected symbols
127127
virtual void paste();
128128

129129
private:
130-
virtual void apply() ;
130+
virtual void apply();
131131
%Docstring
132132
This will be called whenever the renderer is set on a layer.
133133
This can be overwritten in subclasses.
@@ -195,10 +195,10 @@ Returns the vector layer associated with the widget.
195195
void init( int propertyKey ); // needed in children ctor to call virtual
196196

197197
private:
198-
QgsProperty symbolDataDefined() const ;
199-
virtual QgsProperty symbolDataDefined( const QgsSymbol * ) const = 0 ;
200-
virtual double value( const QgsSymbol * ) const = 0 ;
201-
virtual void setDataDefined( QgsSymbol *symbol, const QgsProperty &dd ) = 0 ;
198+
QgsProperty symbolDataDefined() const;
199+
virtual QgsProperty symbolDataDefined( const QgsSymbol * ) const = 0;
200+
virtual double value( const QgsSymbol * ) const = 0;
201+
virtual void setDataDefined( QgsSymbol *symbol, const QgsProperty &dd ) = 0;
202202
};
203203

204204
class QgsDataDefinedSizeDialog : QgsDataDefinedValueDialog

‎python/server/qgsbufferserverresponse.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Return body
135135

136136

137137
private:
138-
QgsBufferServerResponse( const QgsBufferServerResponse & ) ;
138+
QgsBufferServerResponse( const QgsBufferServerResponse & );
139139
};
140140

141141
/************************************************************************

‎python/server/qgsconfigcache.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ path. If the project is not available, then a None is returned.
4646
%End
4747

4848
private:
49-
QgsConfigCache() ;
49+
QgsConfigCache();
5050
};
5151

5252
/************************************************************************

0 commit comments

Comments
 (0)
Please sign in to comment.