QGIS/python/core/qgsvectorlayereditpassthrough.sip

53 lines
1.9 KiB
Plaintext
Raw Normal View History

2017-05-22 09:01:45 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsvectorlayereditpassthrough.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsVectorLayerEditPassthrough : QgsVectorLayerEditBuffer
{
2017-05-22 09:01:45 +02:00
%TypeHeaderCode
2017-05-22 09:01:45 +02:00
#include "qgsvectorlayereditpassthrough.h"
%End
public:
QgsVectorLayerEditPassthrough( QgsVectorLayer *layer );
2017-05-22 09:01:45 +02:00
virtual bool isModified() const;
virtual bool addFeature( QgsFeature &f );
virtual bool addFeatures( QgsFeatureList &features );
virtual bool deleteFeature( QgsFeatureId fid );
virtual bool deleteFeatures( const QgsFeatureIds &fids );
virtual bool changeGeometry( QgsFeatureId fid, const QgsGeometry &geom );
virtual bool changeAttributeValue( QgsFeatureId fid, int field, const QVariant &newValue, const QVariant &oldValue = QVariant() );
virtual bool addAttribute( const QgsField &field );
virtual bool deleteAttribute( int attr );
virtual bool renameAttribute( int attr, const QString &newName );
virtual bool commitChanges( QStringList &commitErrors );
virtual void rollBack();
};
2017-05-22 09:01:45 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsvectorlayereditpassthrough.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/