mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
26 lines
550 B
Plaintext
26 lines
550 B
Plaintext
class QgsVectorFileWriterTask : QgsTask
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsvectorfilewritertask.h>
|
|
%End
|
|
|
|
public:
|
|
|
|
QgsVectorFileWriterTask( QgsVectorLayer* layer,
|
|
const QString& fileName,
|
|
const QgsVectorFileWriter::SaveVectorOptions &options );
|
|
|
|
virtual void cancel();
|
|
|
|
signals:
|
|
|
|
void writeComplete( const QString &newFilename );
|
|
void errorOccurred( int error, const QString &errorMessage );
|
|
|
|
protected:
|
|
|
|
virtual bool run();
|
|
virtual void finished( bool result );
|
|
};
|
|
|