QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
QgsVectorLayerUndoCommandChangeAttribute Class Reference

#include <qgsvectorlayerundocommand.h>

Inheritance diagram for QgsVectorLayerUndoCommandChangeAttribute:
Inheritance graph
[legend]

Public Member Functions

 QgsVectorLayerUndoCommandChangeAttribute (QgsVectorLayerEditBuffer *buffer, QgsFeatureId fid, int fieldIndex, const QVariant &newValue, const QVariant &oldValue)
virtual void redo () override
virtual void undo () override
- Public Member Functions inherited from QgsVectorLayerUndoCommand
 QgsVectorLayerUndoCommand (QgsVectorLayerEditBuffer *buffer)
QgsGeometryCachecache ()
virtual int id () const override
QgsVectorLayerlayer ()
virtual bool mergeWith (const QUndoCommand *) override

Additional Inherited Members

- Protected Attributes inherited from QgsVectorLayerUndoCommand
QgsVectorLayerEditBuffermBuffer

Detailed Description

Definition at line 98 of file qgsvectorlayerundocommand.h.

Constructor & Destructor Documentation

QgsVectorLayerUndoCommandChangeAttribute::QgsVectorLayerUndoCommandChangeAttribute ( QgsVectorLayerEditBuffer buffer,
QgsFeatureId  fid,
int  fieldIndex,
const QVariant &  newValue,
const QVariant &  oldValue 
)

Definition at line 220 of file qgsvectorlayerundocommand.cpp.

Member Function Documentation

void QgsVectorLayerUndoCommandChangeAttribute::redo ( )
overridevirtual

Definition at line 286 of file qgsvectorlayerundocommand.cpp.

void QgsVectorLayerUndoCommandChangeAttribute::undo ( )
overridevirtual

Definition at line 247 of file qgsvectorlayerundocommand.cpp.


The documentation for this class was generated from the following files: