Skip to content
Permalink
Browse files

Merge pull request #5246 from nyalldawson/clazy

Fix some Clazy warnings
  • Loading branch information
nyalldawson committed Sep 25, 2017
2 parents 14a48c0 + b0b1714 commit 154fd61d5a2e19f230274427dd992b75d39c86c0
Showing 376 changed files with 1,775 additions and 1,617 deletions.
@@ -44,6 +44,7 @@ class QgsGraphBuilder : QgsGraphBuilderInterface

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -92,6 +92,7 @@ Returns measurement tool

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -44,7 +44,7 @@ class QgsZonalStatistics

QgsZonalStatistics( QgsVectorLayer *polygonLayer,
QgsRasterLayer *rasterLayer,
const QString &attributePrefix = "",
const QString &attributePrefix = QString(),
int rasterBand = 1,
QgsZonalStatistics::Statistics stats = QgsZonalStatistics::Statistics( QgsZonalStatistics::Count | QgsZonalStatistics::Sum | QgsZonalStatistics::Mean ) );
%Docstring
@@ -64,6 +64,7 @@ class QgsZonalStatistics
QFlags<QgsZonalStatistics::Statistic> operator|(QgsZonalStatistics::Statistic f1, QFlags<QgsZonalStatistics::Statistic> f2);



/************************************************************************
* This file has been generated automatically from *
* *
@@ -171,7 +171,7 @@ class QgsAtlasComposition : QObject
:rtype: str
%End

void setFileFormat( QString format );
void setFileFormat( const QString &format );
%Docstring
Sets the atlas file format used for image exports.
\param format set the file format extension
@@ -33,6 +33,7 @@ class QgsHistogramDiagram: QgsDiagram

virtual QString diagramName() const;


};


@@ -31,6 +31,7 @@ class QgsPieDiagram: QgsDiagram

virtual QString diagramName() const;


};

/************************************************************************
@@ -44,6 +44,7 @@ class QgsTextDiagram: QgsDiagram

virtual QString diagramName() const;


};

/************************************************************************
@@ -528,6 +528,7 @@ struct QgsVertexId
};



/************************************************************************
* This file has been generated automatically from *
* *
@@ -136,6 +136,7 @@ class QgsCircularString: QgsCurve

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -152,6 +152,7 @@ Appends first point if not already closed.

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -199,6 +199,7 @@ Adds an interior ring to the geometry (takes ownership)

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -190,6 +190,7 @@ Adds a geometry and takes ownership. Returns true in case of success.

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -274,6 +274,7 @@ Closes the line string by appending the first point to the end of the line, if i

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -57,6 +57,7 @@ Adds a geometry and takes ownership. Returns true in case of success

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -56,6 +56,7 @@ Adds a geometry and takes ownership. Returns true in case of success

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -57,6 +57,7 @@ Adds a geometry and takes ownership. Returns true in case of success

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -59,6 +59,7 @@ Adds a geometry and takes ownership. Returns true in case of success

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -51,6 +51,7 @@ Adds a geometry and takes ownership. Returns true in case of success

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -412,6 +412,7 @@ class QgsPoint: QgsAbstractGeometry

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -893,6 +893,7 @@ class QgsProcessingFeatureBasedAlgorithm : QgsProcessingAlgorithm




/************************************************************************
* This file has been generated automatically from *
* *
@@ -2143,6 +2143,7 @@ class QgsProcessingParameterBand : QgsProcessingParameterDefinition




/************************************************************************
* This file has been generated automatically from *
* *
@@ -778,6 +778,7 @@ Returns path to the build output directory. Valid only when running from build d

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -86,11 +86,11 @@ Returns transformer for scaling of symbol sizes. Returns null if no transformer
:rtype: QgsSizeScaleTransformer
%End

void setClasses( const QList<QgsDataDefinedSizeLegend::SizeClass> &classes );
void setClasses( const QList< QgsDataDefinedSizeLegend::SizeClass > &classes );
%Docstring
Sets list of classes: each class is a pair of symbol size (in units used by the symbol) and label
%End
QList<QgsDataDefinedSizeLegend::SizeClass> classes() const;
QList< QgsDataDefinedSizeLegend::SizeClass > classes() const;
%Docstring
Returns list of classes: each class is a pair of symbol size (in units used by the symbol) and label
:rtype: list of QgsDataDefinedSizeLegend.SizeClass
@@ -204,6 +204,7 @@ class QgsFontUtils
%End
};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -80,6 +80,7 @@ class QgsMapRendererTask : QgsTask

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -75,6 +75,7 @@ class QgsProjectVersion

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -116,7 +116,7 @@ Get an md5 hash that uniquely identifies an image
:rtype: bool
%End

bool compareImages( const QString &testName, unsigned int mismatchCount = 0, const QString &renderedImageFile = "" );
bool compareImages( const QString &testName, unsigned int mismatchCount = 0, const QString &renderedImageFile = QString() );
%Docstring
Test using two arbitrary images (map renderer will not be used)
\param testName - to be used as the basis for writing a file to
@@ -189,7 +189,7 @@ Sets coordinate transformation.

void setRenderingStopped( bool stopped );

void setDistanceArea( const QgsDistanceArea distanceArea );
void setDistanceArea( const QgsDistanceArea &distanceArea );
%Docstring
A general purpose distance and area calculator, capable of performing ellipsoid based calculations.
Will be used to convert meter distances to active MapUnit values for QgsUnitTypes.RenderMetersInMapUnits
@@ -204,6 +204,7 @@ class QgsUserProfileManager : QObject

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -2093,6 +2093,7 @@ Set the extent
QgsVectorLayer( const QgsVectorLayer &rhs );
};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -212,6 +212,7 @@ Convenient method to test if the geometry is defined (not NoGeometry and not Unk

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -40,6 +40,7 @@ class QgsRasterChecker
%End
}; // class QgsRasterChecker


/************************************************************************
* This file has been generated automatically from *
* *
@@ -467,6 +467,8 @@ Copy member variables from other raster data provider. Useful for implementation


};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -452,6 +452,7 @@ Time stamp of data source in the moment when data/metadata were loaded by provid

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -25,7 +25,10 @@ class QgsRasterRenderer : QgsRasterInterface

static const QRgb NODATA_COLOR;

QgsRasterRenderer( QgsRasterInterface *input = 0, const QString &type = "" );
QgsRasterRenderer( QgsRasterInterface *input = 0, const QString &type = QString() );
%Docstring
Constructor for QgsRasterRenderer.
%End
virtual ~QgsRasterRenderer();


@@ -33,6 +33,7 @@ class QgsColorBrewerPalette
static const char *BREWER_STRING;
};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -470,6 +470,7 @@ return index of a path

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -181,6 +181,7 @@ class QgsEllipseSymbolLayer: QgsMarkerSymbolLayer




/************************************************************************
* This file has been generated automatically from *
* *
@@ -22,7 +22,7 @@ class QgsBusyIndicatorDialog : QDialog
%End
public:

QgsBusyIndicatorDialog( const QString &message = "", QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
QgsBusyIndicatorDialog( const QString &message = QString(), QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
%Docstring
Constructor
Modal busy indicator dialog with no buttons.
@@ -39,6 +39,7 @@ class QgsBusyIndicatorDialog : QDialog

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -27,7 +27,7 @@ class QgsCodeEditor : QsciScintilla
%End
public:

QgsCodeEditor( QWidget *parent /TransferThis/ = 0, const QString &title = "", bool folding = false, bool margin = false );
QgsCodeEditor( QWidget *parent /TransferThis/ = 0, const QString &title = QString(), bool folding = false, bool margin = false );
%Docstring
Construct a new code editor.

@@ -90,6 +90,7 @@ class QgsCodeEditor : QsciScintilla

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -35,7 +35,7 @@ class QgsColorButton : QToolButton
SignalOnly
};

QgsColorButton( QWidget *parent /TransferThis/ = 0, const QString &cdt = "", QgsColorSchemeRegistry *registry = 0 );
QgsColorButton( QWidget *parent /TransferThis/ = 0, const QString &cdt = QString(), QgsColorSchemeRegistry *registry = 0 );
%Docstring
Construct a new color ramp button.
Use ``parent`` to attach a parent QWidget to the dialog.
@@ -76,6 +76,7 @@ Sets geometry calculator used in distance/area calculations.

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -180,7 +180,7 @@ Sets the expression string for the widget
%End

void registerItem( const QString &group, const QString &label, const QString &expressionText,
const QString &helpText = "",
const QString &helpText = QString(),
QgsExpressionItem::ItemType type = QgsExpressionItem::ExpressionNode,
bool highlightedItem = false, int sortOrder = 1 );
%Docstring
@@ -299,6 +299,7 @@ Sets the expression string for the widget

};


/************************************************************************
* This file has been generated automatically from *
* *

0 comments on commit 154fd61

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