2017-05-22 09:01:45 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgstrackedvectorlayertools.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
2016-05-17 00:18:05 +02:00
|
|
|
class QgsTrackedVectorLayerTools : QgsVectorLayerTools
|
|
|
|
{
|
2017-05-22 09:01:45 +02:00
|
|
|
|
2016-05-17 00:18:05 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgstrackedvectorlayertools.h"
|
|
|
|
%End
|
|
|
|
public:
|
2017-09-11 21:43:15 +10:00
|
|
|
|
2016-05-17 00:18:05 +02:00
|
|
|
QgsTrackedVectorLayerTools();
|
2017-09-11 21:43:15 +10:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsTrackedVectorLayerTools.
|
2017-09-11 21:43:15 +10:00
|
|
|
%End
|
2016-05-17 00:18:05 +02:00
|
|
|
|
2017-05-22 09:01:45 +02:00
|
|
|
virtual bool addFeature( QgsVectorLayer *layer, const QgsAttributeMap &defaultValues, const QgsGeometry &defaultGeometry, QgsFeature *feature ) const;
|
|
|
|
|
|
|
|
virtual bool startEditing( QgsVectorLayer *layer ) const;
|
|
|
|
|
|
|
|
virtual bool stopEditing( QgsVectorLayer *layer, bool allowCancel ) const;
|
|
|
|
|
|
|
|
virtual bool saveEdits( QgsVectorLayer *layer ) const;
|
2016-05-17 00:18:05 +02:00
|
|
|
|
2017-05-22 09:01:45 +02:00
|
|
|
virtual bool copyMoveFeatures( QgsVectorLayer *layer, QgsFeatureRequest &request, double dx = 0, double dy = 0, QString *errorMsg = 0 ) const;
|
|
|
|
|
|
|
|
|
|
|
|
void setVectorLayerTools( const QgsVectorLayerTools *tools );
|
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Set the vector layer tools that will be used to interact with the data
|
2017-05-22 09:01:45 +02:00
|
|
|
%End
|
2016-05-17 00:18:05 +02:00
|
|
|
|
|
|
|
void rollback();
|
2017-05-22 09:01:45 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Delete all features which have been added via this object.
|
2017-05-22 09:01:45 +02:00
|
|
|
%End
|
|
|
|
|
2016-05-17 00:18:05 +02:00
|
|
|
};
|
2017-05-22 09:01:45 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgstrackedvectorlayertools.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|