Add missing param doc

This commit is contained in:
Matthias Kuhn 2018-10-30 11:45:57 +01:00
parent 99b246dd78
commit 6fe832b984
No known key found for this signature in database
GPG Key ID: 7A7F1A1C90C3E6A7
2 changed files with 4 additions and 2 deletions

View File

@ -78,7 +78,7 @@ Writes the contents of vector layer to a different datasource.
const QgsCoordinateReferenceSystem &crs,
bool overwrite = false,
const QMap<QString, QVariant> &options = QMap<QString, QVariant>(),
QgsFeatureSink::SinkFlags sinkOptions = 0 );
QgsFeatureSink::SinkFlags sinkFlags = 0 );
%Docstring
Constructor for QgsVectorLayerExporter.
@ -90,6 +90,7 @@ Constructor for QgsVectorLayerExporter.
not available
:param overwrite: set to true to overwrite any existing data source
:param options: optional provider dataset options
:param sinkFlags: for how to add features
%End

View File

@ -98,6 +98,7 @@ class CORE_EXPORT QgsVectorLayerExporter : public QgsFeatureSink
* not available
* \param overwrite set to true to overwrite any existing data source
* \param options optional provider dataset options
* \param sinkFlags for how to add features
*/
QgsVectorLayerExporter( const QString &uri,
const QString &provider,
@ -106,7 +107,7 @@ class CORE_EXPORT QgsVectorLayerExporter : public QgsFeatureSink
const QgsCoordinateReferenceSystem &crs,
bool overwrite = false,
const QMap<QString, QVariant> &options = QMap<QString, QVariant>(),
QgsFeatureSink::SinkFlags sinkOptions = nullptr );
QgsFeatureSink::SinkFlags sinkFlags = nullptr );
//! QgsVectorLayerExporter cannot be copied
QgsVectorLayerExporter( const QgsVectorLayerExporter &rh ) = delete;