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

#include <qgsvectorlayerundocommand.h>

Inheritance diagram for QgsVectorLayerUndoCommandChangeGeometry:
Inheritance graph
[legend]

Public Member Functions

 QgsVectorLayerUndoCommandChangeGeometry (QgsVectorLayerEditBuffer *buffer, QgsFeatureId fid, QgsGeometry *newGeom)
 
 ~QgsVectorLayerUndoCommandChangeGeometry ()
 
virtual int id () const override
 
virtual bool mergeWith (const QUndoCommand *) override
 
virtual void redo () override
 
virtual void undo () override
 
- Public Member Functions inherited from QgsVectorLayerUndoCommand
 QgsVectorLayerUndoCommand (QgsVectorLayerEditBuffer *buffer)
 
QgsGeometryCachecache ()
 
QgsVectorLayerlayer ()
 
- 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 80 of file qgsvectorlayerundocommand.h.

Constructor & Destructor Documentation

QgsVectorLayerUndoCommandChangeGeometry::QgsVectorLayerUndoCommandChangeGeometry ( QgsVectorLayerEditBuffer buffer,
QgsFeatureId  fid,
QgsGeometry newGeom 
)

Definition at line 114 of file qgsvectorlayerundocommand.cpp.

QgsVectorLayerUndoCommandChangeGeometry::~QgsVectorLayerUndoCommandChangeGeometry ( )

Definition at line 159 of file qgsvectorlayerundocommand.cpp.

Member Function Documentation

int QgsVectorLayerUndoCommandChangeGeometry::id ( ) const
overridevirtual

Reimplemented from QgsVectorLayerUndoCommand.

Definition at line 135 of file qgsvectorlayerundocommand.cpp.

bool QgsVectorLayerUndoCommandChangeGeometry::mergeWith ( const QUndoCommand other)
overridevirtual

Reimplemented from QgsVectorLayerUndoCommand.

Definition at line 140 of file qgsvectorlayerundocommand.cpp.

void QgsVectorLayerUndoCommandChangeGeometry::redo ( )
overridevirtual

Reimplemented from QUndoCommand.

Definition at line 202 of file qgsvectorlayerundocommand.cpp.

void QgsVectorLayerUndoCommandChangeGeometry::undo ( )
overridevirtual

Reimplemented from QUndoCommand.

Definition at line 165 of file qgsvectorlayerundocommand.cpp.


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