16 #ifndef QGSVECTORLAYERUNDOCOMMAND_H    17 #define QGSVECTORLAYERUNDOCOMMAND_H    19 #include "qgis_core.h"    21 #include <QUndoCommand>    55     int id()
 const override { 
return -1; }
    56     bool mergeWith( 
const QUndoCommand * )
 override { 
return false; }
   106     void undo() 
override;
   107     void redo() 
override;
   132     void undo() 
override;
   133     void redo() 
override;
   134     int id() 
const override;
   135     bool mergeWith( 
const QUndoCommand * ) 
override;
   163     void undo() 
override;
   164     void redo() 
override;
   191     void undo() 
override;
   192     void redo() 
override;
   216     void undo() 
override;
   217     void redo() 
override;
   225     QVariantMap mOldEditorWidgetConfig;
   227     QMap<QgsFeatureId, QVariant> mDeletedValues;
   251     void undo() 
override;
   252     void redo() 
override;
 Undo command for removing an existing attribute from a vector layer. 
 
Undo command for deleting a feature from a vector layer. 
 
Base class for undo commands within a QgsVectorLayerEditBuffer. 
 
Undo command for modifying an attribute of a feature from a vector layer. 
 
A geometry is the spatial representation of a feature. 
 
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
 
Undo command for adding a feature to a vector layer. 
 
Undo command for modifying the geometry of a feature from a vector layer. 
 
bool mergeWith(const QUndoCommand *) override
 
QgsVectorLayer * layer()
Returns the layer associated with the undo command. 
 
Undo command for renaming an existing attribute of a vector layer. 
 
Encapsulate a field in an attribute table or data source. 
 
Undo command for adding a new attribute to a vector layer. 
 
QgsVectorLayerUndoCommand(QgsVectorLayerEditBuffer *buffer)
Constructor for QgsVectorLayerUndoCommand. 
 
Represents a vector layer which manages a vector based data sets.