mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-25 00:03:06 -04:00
initialize QgsFeedback with nullptr by default
This commit is contained in:
parent
f3d42a2cda
commit
09bb55a895
@ -38,7 +38,7 @@ class QgsGraphDirector : QObject
|
|||||||
virtual void makeGraph( QgsGraphBuilderInterface *builder,
|
virtual void makeGraph( QgsGraphBuilderInterface *builder,
|
||||||
const QVector< QgsPointXY > &additionalPoints,
|
const QVector< QgsPointXY > &additionalPoints,
|
||||||
QVector< QgsPointXY > &snappedPoints /Out/,
|
QVector< QgsPointXY > &snappedPoints /Out/,
|
||||||
QgsFeedback *feedback ) const;
|
QgsFeedback *feedback = 0 ) const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Make a graph using QgsGraphBuilder
|
Make a graph using QgsGraphBuilder
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ class QgsVectorLayerDirector : QgsGraphDirector
|
|||||||
virtual void makeGraph( QgsGraphBuilderInterface *builder,
|
virtual void makeGraph( QgsGraphBuilderInterface *builder,
|
||||||
const QVector< QgsPointXY > &additionalPoints,
|
const QVector< QgsPointXY > &additionalPoints,
|
||||||
QVector< QgsPointXY> &snappedPoints /Out/,
|
QVector< QgsPointXY> &snappedPoints /Out/,
|
||||||
QgsFeedback *feedback ) const;
|
QgsFeedback *feedback = 0 ) const;
|
||||||
%Docstring
|
%Docstring
|
||||||
MANDATORY DIRECTOR PROPERTY DECLARATION
|
MANDATORY DIRECTOR PROPERTY DECLARATION
|
||||||
%End
|
%End
|
||||||
|
@ -70,7 +70,7 @@ class ANALYSIS_EXPORT QgsGraphDirector : public QObject
|
|||||||
virtual void makeGraph( QgsGraphBuilderInterface *builder,
|
virtual void makeGraph( QgsGraphBuilderInterface *builder,
|
||||||
const QVector< QgsPointXY > &additionalPoints,
|
const QVector< QgsPointXY > &additionalPoints,
|
||||||
QVector< QgsPointXY > &snappedPoints SIP_OUT,
|
QVector< QgsPointXY > &snappedPoints SIP_OUT,
|
||||||
QgsFeedback *feedback ) const
|
QgsFeedback *feedback = nullptr ) const
|
||||||
{
|
{
|
||||||
Q_UNUSED( builder );
|
Q_UNUSED( builder );
|
||||||
Q_UNUSED( additionalPoints );
|
Q_UNUSED( additionalPoints );
|
||||||
|
@ -75,7 +75,7 @@ class ANALYSIS_EXPORT QgsVectorLayerDirector : public QgsGraphDirector
|
|||||||
void makeGraph( QgsGraphBuilderInterface *builder,
|
void makeGraph( QgsGraphBuilderInterface *builder,
|
||||||
const QVector< QgsPointXY > &additionalPoints,
|
const QVector< QgsPointXY > &additionalPoints,
|
||||||
QVector< QgsPointXY> &snappedPoints SIP_OUT,
|
QVector< QgsPointXY> &snappedPoints SIP_OUT,
|
||||||
QgsFeedback *feedback ) const override;
|
QgsFeedback *feedback = nullptr ) const override;
|
||||||
|
|
||||||
QString name() const override;
|
QString name() const override;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user