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
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 ()

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

Definition at line 202 of file qgsvectorlayerundocommand.cpp.

void QgsVectorLayerUndoCommandChangeGeometry::undo ( )
overridevirtual

Definition at line 165 of file qgsvectorlayerundocommand.cpp.


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