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
QgsVectorLayerUndoCommandAddAttribute Class Reference

#include <qgsvectorlayerundocommand.h>

Inheritance diagram for QgsVectorLayerUndoCommandAddAttribute:
Inheritance graph
Collaboration diagram for QgsVectorLayerUndoCommandAddAttribute:
Collaboration graph

Public Member Functions

 QgsVectorLayerUndoCommandAddAttribute (QgsVectorLayerEditBuffer *buffer, const QgsField &field)
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

QgsField mField
int mFieldIndex

Additional Inherited Members

- Protected Attributes inherited from QgsVectorLayerUndoCommand

Detailed Description

Definition at line 114 of file qgsvectorlayerundocommand.h.

Constructor & Destructor Documentation

QgsVectorLayerUndoCommandAddAttribute::QgsVectorLayerUndoCommandAddAttribute ( QgsVectorLayerEditBuffer buffer,
const QgsField field 

Member Function Documentation

void QgsVectorLayerUndoCommandAddAttribute::redo ( )
void QgsVectorLayerUndoCommandAddAttribute::undo ( )

Member Data Documentation

QgsField QgsVectorLayerUndoCommandAddAttribute::mField

Definition at line 123 of file qgsvectorlayerundocommand.h.

Referenced by redo().

int QgsVectorLayerUndoCommandAddAttribute::mFieldIndex

Definition at line 124 of file qgsvectorlayerundocommand.h.

Referenced by QgsVectorLayerUndoCommandAddAttribute(), redo(), and undo().

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