Skip to content
Permalink
Browse files

run sipify

  • Loading branch information
3nids committed Jan 16, 2018
1 parent fe5a001 commit 458cab7b20102811d2f461b39bb0a05f5c5bbea8
@@ -312,7 +312,7 @@ Get short strings describing an SSL error

static QList<QSslError> validateCertChain( const QList<QSslCertificate> &certificateChain,
const QString &hostName = QString(),
bool trustRootCa = false ) ;
bool trustRootCa = false );
%Docstring
validateCertChain validates the given ``certificateChain``

@@ -246,7 +246,7 @@ Returns true if this range overlaps another range.
};


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

typedef QgsTemporalRange< QDateTime > QgsDateTimeRange ;
typedef QgsTemporalRange< QDateTime > QgsDateTimeRange;
@TEMPLATE_DOCSTRING@%Docstring
@TEMPLATE_DOCSTRING@QgsRange which stores a range of date times.
@TEMPLATE_DOCSTRING@
@@ -34,8 +34,8 @@ process and displays them in a dialog box.
void dialogGone();

private:
QgsRunProcess( const QString &action, bool capture ) ;
~QgsRunProcess() ;
QgsRunProcess( const QString &action, bool capture );
~QgsRunProcess();
};

/************************************************************************
@@ -194,7 +194,7 @@ Calculates the marker offset and rotation.


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

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


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

};

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

private:
QgsFilledMarkerSymbolLayer( const QgsFilledMarkerSymbolLayer & );
virtual void draw( QgsSymbolRenderContext &context, QgsSimpleMarkerSymbolLayerBase::Shape shape, const QPolygonF &polygon, const QPainterPath &path ) ;
virtual void draw( QgsSymbolRenderContext &context, QgsSimpleMarkerSymbolLayerBase::Shape shape, const QPolygonF &polygon, const QPainterPath &path );

};

@@ -66,7 +66,7 @@ Creates a QgsPointClusterRenderer from an existing renderer.
private:
QgsPointClusterRenderer( const QgsPointClusterRenderer & );
QgsPointClusterRenderer &operator=( const QgsPointClusterRenderer & );
virtual void drawGroup( QPointF centerPoint, QgsRenderContext &context, const QgsPointDistanceRenderer::ClusteredGroup &group ) ;
virtual void drawGroup( QPointF centerPoint, QgsRenderContext &context, const QgsPointDistanceRenderer::ClusteredGroup &group );

};

@@ -154,7 +154,7 @@ Creates a QgsPointDisplacementRenderer from an existing renderer.
private:
QgsPointDisplacementRenderer( const QgsPointDisplacementRenderer & );
QgsPointDisplacementRenderer &operator=( const QgsPointDisplacementRenderer & );
virtual void drawGroup( QPointF centerPoint, QgsRenderContext &context, const QgsPointDistanceRenderer::ClusteredGroup &group ) ;
virtual void drawGroup( QPointF centerPoint, QgsRenderContext &context, const QgsPointDistanceRenderer::ClusteredGroup &group );

};

@@ -297,7 +297,7 @@ Renders the labels for a group.
%End

private:
virtual void drawGroup( QPointF centerPoint, QgsRenderContext &context, const ClusteredGroup &group ) = 0 ;
virtual void drawGroup( QPointF centerPoint, QgsRenderContext &context, const ClusteredGroup &group ) = 0;
%Docstring
Draws a group of clustered points.

@@ -557,7 +557,7 @@ Will take ownership.
%End

private:
QgsSymbolRenderContext( const QgsSymbolRenderContext &rh ) ;
QgsSymbolRenderContext( const QgsSymbolRenderContext &rh );
};


@@ -105,17 +105,17 @@ Reloads profiles list from QGIS settings
%End

private slots:
void mProfileNewButton_clicked() ;
void mProfileDeleteButton_clicked() ;
void mProfileResetButton_clicked() ;
void mOptionsAddButton_clicked() ;
void mOptionsDeleteButton_clicked() ;
void mOptionsLineEdit_editingFinished() ;
void optionsTableChanged() ;
void optionsTableEnableDeleteButton() ;
void updateOptions() ;
void swapOptionsUI( int newIndex = -1 ) ;
void updateControls() ;
void mProfileNewButton_clicked();
void mProfileDeleteButton_clicked();
void mProfileResetButton_clicked();
void mOptionsAddButton_clicked();
void mOptionsDeleteButton_clicked();
void mOptionsLineEdit_editingFinished();
void optionsTableChanged();
void optionsTableEnableDeleteButton();
void updateOptions();
void swapOptionsUI( int newIndex = -1 );
void updateControls();
protected:
virtual void showEvent( QShowEvent *event );

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

private:
QString settingsKey( QString profile ) const ;
QString currentProfileKey() const ;
QString createOptions( const QString &profile ) const ;
void deleteCreateOptions( const QString &profile ) ;
void setCreateOptions() ;
void setCreateOptions( const QString &profile, const QString &options ) ;
void setCreateOptions( const QString &profile, const QStringList &list ) ;
QStringList profiles() const ;
virtual bool eventFilter( QObject *obj, QEvent *event ) ;

QString pseudoFormat() const ;
QString settingsKey( QString profile ) const;
QString currentProfileKey() const;
QString createOptions( const QString &profile ) const;
void deleteCreateOptions( const QString &profile );
void setCreateOptions();
void setCreateOptions( const QString &profile, const QString &options );
void setCreateOptions( const QString &profile, const QStringList &list );
QStringList profiles() const;
virtual bool eventFilter( QObject *obj, QEvent *event );

QString pseudoFormat() const;
};


@@ -40,10 +40,10 @@ Constructor for QgsRasterPyramidsOptionsWidget
void checkAllLevels( bool checked );

private slots:
void cbxPyramidsLevelsCustom_toggled( bool toggled ) ;
void cbxPyramidsFormat_currentIndexChanged( int index ) ;
void setOverviewList() ;
void updateUi() ;
void cbxPyramidsLevelsCustom_toggled( bool toggled );
void cbxPyramidsFormat_currentIndexChanged( int index );
void setOverviewList();
void updateUi();
signals:
void overviewListChanged();
void someValueChanged(); /* emitted when any other setting changes */
@@ -38,7 +38,7 @@ Constructor


private:
virtual void apply() ;
virtual void apply();

};

@@ -127,7 +127,7 @@ Change marker angles of selected symbols
virtual void paste();

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

private:
QgsProperty symbolDataDefined() const ;
virtual QgsProperty symbolDataDefined( const QgsSymbol * ) const = 0 ;
virtual double value( const QgsSymbol * ) const = 0 ;
virtual void setDataDefined( QgsSymbol *symbol, const QgsProperty &dd ) = 0 ;
QgsProperty symbolDataDefined() const;
virtual QgsProperty symbolDataDefined( const QgsSymbol * ) const = 0;
virtual double value( const QgsSymbol * ) const = 0;
virtual void setDataDefined( QgsSymbol *symbol, const QgsProperty &dd ) = 0;
};

class QgsDataDefinedSizeDialog : QgsDataDefinedValueDialog
@@ -135,7 +135,7 @@ Return body


private:
QgsBufferServerResponse( const QgsBufferServerResponse & ) ;
QgsBufferServerResponse( const QgsBufferServerResponse & );
};

/************************************************************************
@@ -46,7 +46,7 @@ path. If the project is not available, then a None is returned.
%End

private:
QgsConfigCache() ;
QgsConfigCache();
};

/************************************************************************

0 comments on commit 458cab7

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