QGIS/python/core/auto_generated/qgstrackedvectorlayertools.sip.in

53 lines
2.0 KiB
Plaintext
Raw Normal View History

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 *
************************************************************************/
class QgsTrackedVectorLayerTools : QgsVectorLayerTools
{
2017-05-22 09:01:45 +02:00
%TypeHeaderCode
#include "qgstrackedvectorlayertools.h"
%End
public:
2017-09-11 21:43:15 +10: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
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;
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
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
};
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 *
************************************************************************/