QGIS API Documentation  2.11.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | List of all members
QgsVectorLayerUndoCommandAddFeature Class Reference

#include <qgsvectorlayerundocommand.h>

Inheritance diagram for QgsVectorLayerUndoCommandAddFeature:
Inheritance graph
[legend]

Public Member Functions

 QgsVectorLayerUndoCommandAddFeature (QgsVectorLayerEditBuffer *buffer, QgsFeature &f)
 
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
 
- Public Member Functions inherited from QUndoCommand
 QUndoCommand (QUndoCommand *parent)
 
 QUndoCommand (const QString &text, QUndoCommand *parent)
 
virtual  ~QUndoCommand ()
 
QString actionText () const
 
const QUndoCommandchild (int index) const
 
int childCount () const
 
void setText (const QString &text)
 
QString text () const
 

Additional Inherited Members

- Protected Attributes inherited from QgsVectorLayerUndoCommand
QgsVectorLayerEditBuffermBuffer
 

Detailed Description

Definition at line 53 of file qgsvectorlayerundocommand.h.

Constructor & Destructor Documentation

QgsVectorLayerUndoCommandAddFeature::QgsVectorLayerUndoCommandAddFeature ( QgsVectorLayerEditBuffer buffer,
QgsFeature f 
)

Definition at line 27 of file qgsvectorlayerundocommand.cpp.

Member Function Documentation

void QgsVectorLayerUndoCommandAddFeature::redo ( )
overridevirtual

Reimplemented from QUndoCommand.

Definition at line 59 of file qgsvectorlayerundocommand.cpp.

void QgsVectorLayerUndoCommandAddFeature::undo ( )
overridevirtual

Reimplemented from QUndoCommand.

Definition at line 45 of file qgsvectorlayerundocommand.cpp.


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