|
QGIS API Documentation 3.99.0-Master (21b3aa880ba)
|
Base class for undo commands within a QgsVectorLayerEditBuffer. More...
#include <qgsvectorlayerundocommand.h>

Public Member Functions | |
| QgsVectorLayerUndoCommand (QgsVectorLayerEditBuffer *buffer) | |
| Constructor for QgsVectorLayerUndoCommand. | |
| int | id () const override |
| QgsVectorLayer * | layer () |
| Returns the layer associated with the undo command. | |
| bool | mergeWith (const QUndoCommand *) override |
Protected Attributes | |
| QgsVectorLayerEditBuffer * | mBuffer = nullptr |
| Associated edit buffer. | |
Base class for undo commands within a QgsVectorLayerEditBuffer.
Definition at line 39 of file qgsvectorlayerundocommand.h.
|
inline |
Constructor for QgsVectorLayerUndoCommand.
| buffer | associated edit buffer |
Definition at line 47 of file qgsvectorlayerundocommand.h.
|
inlineoverride |
Definition at line 54 of file qgsvectorlayerundocommand.h.
|
inline |
Returns the layer associated with the undo command.
Definition at line 52 of file qgsvectorlayerundocommand.h.
|
inlineoverride |
Definition at line 55 of file qgsvectorlayerundocommand.h.
|
protected |
Associated edit buffer.
Definition at line 59 of file qgsvectorlayerundocommand.h.