Skip to content

Commit c489dc4

Browse files
committedOct 31, 2018
Add missing param doc
1 parent 45d009f commit c489dc4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
 

‎python/core/auto_generated/qgsvectorlayerexporter.sip.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Writes the contents of vector layer to a different datasource.
7878
const QgsCoordinateReferenceSystem &crs,
7979
bool overwrite = false,
8080
const QMap<QString, QVariant> &options = QMap<QString, QVariant>(),
81-
QgsFeatureSink::SinkFlags sinkOptions = 0 );
81+
QgsFeatureSink::SinkFlags sinkFlags = 0 );
8282
%Docstring
8383
Constructor for QgsVectorLayerExporter.
8484

@@ -90,6 +90,7 @@ Constructor for QgsVectorLayerExporter.
9090
not available
9191
:param overwrite: set to true to overwrite any existing data source
9292
:param options: optional provider dataset options
93+
:param sinkFlags: for how to add features
9394
%End
9495

9596

‎src/core/qgsvectorlayerexporter.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ class CORE_EXPORT QgsVectorLayerExporter : public QgsFeatureSink
9898
* not available
9999
* \param overwrite set to true to overwrite any existing data source
100100
* \param options optional provider dataset options
101+
* \param sinkFlags for how to add features
101102
*/
102103
QgsVectorLayerExporter( const QString &uri,
103104
const QString &provider,
@@ -106,7 +107,7 @@ class CORE_EXPORT QgsVectorLayerExporter : public QgsFeatureSink
106107
const QgsCoordinateReferenceSystem &crs,
107108
bool overwrite = false,
108109
const QMap<QString, QVariant> &options = QMap<QString, QVariant>(),
109-
QgsFeatureSink::SinkFlags sinkOptions = nullptr );
110+
QgsFeatureSink::SinkFlags sinkFlags = nullptr );
110111

111112
//! QgsVectorLayerExporter cannot be copied
112113
QgsVectorLayerExporter( const QgsVectorLayerExporter &rh ) = delete;

0 commit comments

Comments
 (0)
Please sign in to comment.