Skip to content

Commit

Permalink
run sipify
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored and nyalldawson committed Oct 12, 2021
1 parent e3a77b9 commit ec16736
Show file tree
Hide file tree
Showing 395 changed files with 555 additions and 547 deletions.
2 changes: 1 addition & 1 deletion python/3d/auto_generated/processing/qgs3dalgorithms.sip.in
Expand Up @@ -40,7 +40,7 @@ Constructor for Qgs3DAlgorithms.
virtual bool supportsNonFileBasedOutput() const;


protected:
protected slots:

virtual void loadAlgorithms();

Expand Down
Expand Up @@ -97,7 +97,7 @@ Returns tiling settings of the renderer
virtual void resolveReferences( const QgsProject &project );


protected:
protected slots:
void copyBaseProperties( QgsAbstractVectorLayer3DRenderer *r ) const;
%Docstring
Copies common properties of this object to another object
Expand Down
2 changes: 1 addition & 1 deletion python/3d/auto_generated/qgslayoutitem3dmap.sip.in
Expand Up @@ -102,7 +102,7 @@ overridden to show "3D Map 1" type names
virtual void refresh();


protected:
protected slots:
virtual void draw( QgsLayoutItemRenderContext &context );

virtual bool writePropertiesToElement( QDomElement &element, QDomDocument &document, const QgsReadWriteContext &context ) const;
Expand Down
Expand Up @@ -72,7 +72,7 @@ Sets the point size
Returns the byte stride for the geometries used to for the vertex buffer
%End

protected:
protected slots:
};

class QgsSingleColorPointCloud3DSymbol : QgsPointCloud3DSymbol
Expand Down
Expand Up @@ -98,7 +98,7 @@ Calculates interpolation value for map coordinates x, y
%End


protected:
protected slots:

Result cacheBaseData( QgsFeedback *feedback = 0 );
%Docstring
Expand Down
Expand Up @@ -61,7 +61,7 @@ Add optimization strategy
Returns director name
%End

protected:
protected slots:
};

/************************************************************************
Expand Down
Expand Up @@ -80,7 +80,7 @@ exists for the lifetime of this algorithm.
virtual bool supportInPlaceEdit( const QgsMapLayer *layer ) const;


protected:
protected slots:
virtual QString outputName() const;

virtual bool prepareAlgorithm( const QVariantMap &parameters, QgsProcessingContext &context, QgsProcessingFeedback *feedback );
Expand Down
Expand Up @@ -40,7 +40,7 @@ Constructor for QgsNativeAlgorithms.
virtual bool supportsNonFileBasedOutput() const;


protected:
protected slots:

virtual void loadAlgorithms();

Expand Down
6 changes: 3 additions & 3 deletions python/analysis/auto_generated/raster/qgsalignraster.sip.in
Expand Up @@ -84,7 +84,7 @@ Write contents of the object to standard error stream - for debugging
Gets raster value at the given coordinates (from the first band)
%End

protected:
protected slots:

private:
RasterInfo( const QgsAlignRaster::RasterInfo &rh );
Expand Down Expand Up @@ -264,7 +264,7 @@ write contents of the object to standard error stream - for debugging
Returns the index of the layer which has smallest cell size (returns -1 on error)
%End

protected:
protected slots:

bool createAndWarp( const Item &raster );
%Docstring
Expand All @@ -276,7 +276,7 @@ Internal function for processing of one raster (1. create output, 2. do the alig
Determine suggested output of raster warp to a different CRS. Returns ``True`` on success
%End

protected:
protected slots:



Expand Down
Expand Up @@ -27,7 +27,7 @@ Needs to be subclassed (e.g. for slope and aspect).
float *x12, float *x22, float *x32,
float *x13, float *x23, float *x33 ) = 0;

protected:
protected slots:
float calcFirstDerX( float *x11, float *x21, float *x31, float *x12, float *x22, float *x32, float *x13, float *x23, float *x33 );
%Docstring
Calculates the first order derivative in x-direction according to Horn (1981)
Expand Down
Expand Up @@ -75,7 +75,7 @@ First index of the input cell is the row, second index is the column
:return: the calculated cell value for the central cell x22
%End

protected:
protected slots:


};
Expand Down
Expand Up @@ -23,7 +23,7 @@ Algorithm from Riley et al. 1999: A terrain ruggedness index that quantifies top
public:
QgsRuggednessFilter( const QString &inputFile, const QString &outputFile, const QString &outputFormat );

protected:
protected slots:

virtual float processNineCellWindow( float *x11, float *x21, float *x31,
float *x12, float *x22, float *x32,
Expand Down
Expand Up @@ -21,7 +21,7 @@ Calculates total curvature as described by Wilson, Gallant (2000): terrain analy
public:
QgsTotalCurvatureFilter( const QString &inputFile, const QString &outputFile, const QString &outputFormat );

protected:
protected slots:

virtual float processNineCellWindow( float *x11, float *x21, float *x31,
float *x12, float *x22, float *x32,
Expand Down
Expand Up @@ -86,7 +86,7 @@ Should be preferred over :py:func:`~QgsFeaturePool.layer`.name() because it can
the background thread.
%End

protected:
protected slots:

void insertFeature( const QgsFeature &feature, bool skipLock = false );
%Docstring
Expand Down
Expand Up @@ -231,7 +231,7 @@ Returns the context
.. versionadded:: 3.4
%End

protected:
protected slots:



Expand Down
Expand Up @@ -179,7 +179,7 @@ Returns an icon that should be shown for this kind of error.

.. versionadded:: 3.8
%End
protected:
protected slots:

QgsGeometryCheckError( const QgsGeometryCheck *check,
const QString &layerId,
Expand Down
Expand Up @@ -76,7 +76,7 @@ The vertex id of the error. May be invalid depending on the check.
.. versionadded:: 3.4
%End

protected:
protected slots:
};

class QgsGeometryCheckErrorSingle : QgsGeometryCheckError
Expand Down
4 changes: 2 additions & 2 deletions python/core/auto_generated/3d/qgs3drendererregistry.sip.in
Expand Up @@ -37,14 +37,14 @@ Returns new instance of the renderer given the DOM element. Returns ``None`` on
Pure virtual function: must be implemented in derived classes.
%End

protected:
protected slots:

explicit Qgs3DRendererAbstractMetadata( const QString &type );
%Docstring
Constructor of the base class
%End

protected:
protected slots:
};


Expand Down
2 changes: 1 addition & 1 deletion python/core/auto_generated/3d/qgsabstract3drenderer.sip.in
Expand Up @@ -53,7 +53,7 @@ Reads renderer's properties from given XML element
Resolves references to other objects - second phase of loading - after :py:func:`~QgsAbstract3DRenderer.readXml`
%End

protected:
protected slots:
QgsAbstract3DRenderer();
%Docstring
Default constructor
Expand Down
2 changes: 1 addition & 1 deletion python/core/auto_generated/3d/qgsabstract3dsymbol.sip.in
Expand Up @@ -86,7 +86,7 @@ Sets the symbol layer's property collection, used for data defined overrides.
%End


protected:
protected slots:

void copyBaseSettings( QgsAbstract3DSymbol *destination ) const;
%Docstring
Expand Down
Expand Up @@ -359,7 +359,7 @@ to be moved to reflect this.
Emitted when the map layer associated with the annotation changes.
%End

protected:
protected slots:

virtual void renderAnnotation( QgsRenderContext &context, QSizeF size ) const = 0;
%Docstring
Expand Down
Expand Up @@ -205,7 +205,7 @@ exactly 2mm thick when a map is rendered at 1:1000, or 1mm thick when rendered a
.. seealso:: :py:func:`setUseSymbologyReferenceScale`
%End

protected:
protected slots:

void copyCommonProperties( const QgsAnnotationItem *other );
%Docstring
Expand Down
Expand Up @@ -47,7 +47,7 @@ Returns the operation type.
Returns the associated item ID.
%End

protected:
protected slots:


};
Expand Down
Expand Up @@ -75,7 +75,7 @@ Returns html source text
Returns a new QgsHtmlAnnotation object.
%End

protected:
protected slots:

virtual void renderAnnotation( QgsRenderContext &context, QSizeF size ) const;

Expand Down
Expand Up @@ -54,7 +54,7 @@ Returns the file path for the source SVG file.
Returns a new QgsSvgAnnotation object.
%End

protected:
protected slots:

virtual void renderAnnotation( QgsRenderContext &context, QSizeF size ) const;

Expand Down
Expand Up @@ -56,7 +56,7 @@ within the annotation. Ownership is not transferred.
Returns a new QgsTextAnnotation object.
%End

protected:
protected slots:

virtual void renderAnnotation( QgsRenderContext &context, QSizeF size ) const;

Expand Down
4 changes: 2 additions & 2 deletions python/core/auto_generated/auth/qgsauthmanager.sip.in
Expand Up @@ -842,12 +842,12 @@ Clear all authentication configs from authentication method caches
Clear an authentication config from its associated authentication method cache
%End

protected:
protected slots:



public:
protected:
protected slots:

};

Expand Down
2 changes: 1 addition & 1 deletion python/core/auto_generated/auth/qgsauthmethod.sip.in
Expand Up @@ -153,7 +153,7 @@ Update an authentication configuration in place
Useful for updating previously stored authcfgs, when an authentication method has been significantly updated
%End

protected:
protected slots:

explicit QgsAuthMethod();
%Docstring
Expand Down
2 changes: 1 addition & 1 deletion python/core/auto_generated/browser/qgsbrowsermodel.sip.in
Expand Up @@ -237,7 +237,7 @@ Delayed initialization, needed because the provider registry must be already pop
.. seealso:: :py:func:`initialized`
%End

protected:
protected slots:
void addRootItems();
%Docstring
Populates the model
Expand Down
Expand Up @@ -187,7 +187,7 @@ Sets show layers to ``showLayers``
.. versionadded:: 3.14
%End

protected:
protected slots:

virtual bool filterAcceptsRow( int sourceRow, const QModelIndex &sourceParent ) const;

Expand Down
Expand Up @@ -62,7 +62,7 @@ Returns the standard browser data collection icon.
virtual QgsAbstractDatabaseProviderConnection *databaseConnection() const;


protected:
protected slots:

static QIcon openDirIcon( const QColor &fillColor = QColor(), const QColor &strokeColor = QColor() );
%Docstring
Expand Down
2 changes: 1 addition & 1 deletion python/core/auto_generated/browser/qgsdataitem.sip.in
Expand Up @@ -419,7 +419,7 @@ Ownership of the returned objects is transferred to the caller.
.. versionadded:: 3.16
%End

protected:
protected slots:
virtual void populate( const QVector<QgsDataItem *> &children );

virtual void refresh( const QVector<QgsDataItem *> &children );
Expand Down
4 changes: 2 additions & 2 deletions python/core/auto_generated/browser/qgsdirectoryitem.sip.in
Expand Up @@ -187,7 +187,7 @@ This is a persistent setting, which is saved in QSettings.

void directoryChanged();

protected:
protected slots:
void init();


Expand All @@ -208,7 +208,7 @@ Browser parameter widget implementation for directory items.
public:
QgsDirectoryParamWidget( const QString &path, QWidget *parent /TransferThis/ = 0 );

protected:
protected slots:
virtual void mousePressEvent( QMouseEvent *event );


Expand Down
2 changes: 1 addition & 1 deletion python/core/auto_generated/browser/qgslayeritem.sip.in
Expand Up @@ -106,7 +106,7 @@ Use :py:class:`QgsDataItemGuiProvider`.deleteLayer instead
QGIS 3.10
%End

protected:
protected slots:

public:

Expand Down
2 changes: 1 addition & 1 deletion python/core/auto_generated/browser/qgszipitem.sip.in
Expand Up @@ -17,7 +17,7 @@ A zip file: contains layers, using GDAL/OGR VSIFILE mechanism
%TypeHeaderCode
#include "qgszipitem.h"
%End
protected:
protected slots:

public:
QgsZipItem( QgsDataItem *parent, const QString &name, const QString &path );
Expand Down

0 comments on commit ec16736

Please sign in to comment.