mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-04 00:30:59 -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 );
|
||
|
};
|
||
|
|