QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
QgsVectorLayerUndoCommandDeleteAttribute Class Reference

#include <qgsvectorlayerundocommand.h>

Inheritance diagram for QgsVectorLayerUndoCommandDeleteAttribute:
Inheritance graph
[legend]
Collaboration diagram for QgsVectorLayerUndoCommandDeleteAttribute:
Collaboration graph
[legend]

Public Member Functions

 QgsVectorLayerUndoCommandDeleteAttribute (QgsVectorLayerEditBuffer *buffer, int fieldIndex)
virtual void undo ()
virtual void redo ()
- Public Member Functions inherited from QgsVectorLayerUndoCommand
 QgsVectorLayerUndoCommand (QgsVectorLayerEditBuffer *buffer)
QgsVectorLayerlayer ()
QgsGeometryCachecache ()
virtual int id () const
virtual bool mergeWith (QUndoCommand *)

Private Attributes

int mFieldIndex
bool mProviderField
int mOriginIndex
QgsField mOldField
QMap< QgsFeatureId, QVariant > mDeletedValues

Additional Inherited Members

- Protected Attributes inherited from QgsVectorLayerUndoCommand
QgsVectorLayerEditBuffermBuffer

Detailed Description

Definition at line 128 of file qgsvectorlayerundocommand.h.

Constructor & Destructor Documentation

QgsVectorLayerUndoCommandDeleteAttribute::QgsVectorLayerUndoCommandDeleteAttribute ( QgsVectorLayerEditBuffer buffer,
int  fieldIndex 
)

Member Function Documentation

void QgsVectorLayerUndoCommandDeleteAttribute::redo ( )
virtual
void QgsVectorLayerUndoCommandDeleteAttribute::undo ( )
virtual

Member Data Documentation

QMap<QgsFeatureId, QVariant> QgsVectorLayerUndoCommandDeleteAttribute::mDeletedValues
private

Definition at line 142 of file qgsvectorlayerundocommand.h.

Referenced by QgsVectorLayerUndoCommandDeleteAttribute(), and undo().

int QgsVectorLayerUndoCommandDeleteAttribute::mFieldIndex
private
QgsField QgsVectorLayerUndoCommandDeleteAttribute::mOldField
private

Definition at line 140 of file qgsvectorlayerundocommand.h.

Referenced by QgsVectorLayerUndoCommandDeleteAttribute(), and undo().

int QgsVectorLayerUndoCommandDeleteAttribute::mOriginIndex
private
bool QgsVectorLayerUndoCommandDeleteAttribute::mProviderField
private

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