QGIS API Documentation  master-59fd5e0
QgsVectorLayerUndoCommandChangeGeometry Class Reference

#include <qgsvectorlayerundocommand.h>

+ Inheritance diagram for QgsVectorLayerUndoCommandChangeGeometry:
+ Collaboration diagram for QgsVectorLayerUndoCommandChangeGeometry:

List of all members.

Public Member Functions

 QgsVectorLayerUndoCommandChangeGeometry (QgsVectorLayerEditBuffer *buffer, QgsFeatureId fid, QgsGeometry *newGeom)
 ~QgsVectorLayerUndoCommandChangeGeometry ()
virtual int id () const
virtual bool mergeWith (const QUndoCommand *)
virtual void redo ()
virtual void undo ()

Private Attributes

QgsFeatureId mFid
QgsGeometrymNewGeom
QgsGeometrymOldGeom

Detailed Description

Definition at line 80 of file qgsvectorlayerundocommand.h.


Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from QgsVectorLayerUndoCommand.

Definition at line 135 of file qgsvectorlayerundocommand.cpp.

Referenced by mergeWith().

bool QgsVectorLayerUndoCommandChangeGeometry::mergeWith ( const QUndoCommand *  other) [virtual]

Definition at line 140 of file qgsvectorlayerundocommand.cpp.

References id(), and mNewGeom.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines