QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
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 40 of file qgsvectorlayerundocommand.h.
|
inline |
Constructor for QgsVectorLayerUndoCommand.
buffer | associated edit buffer |
Definition at line 48 of file qgsvectorlayerundocommand.h.
|
inlineoverride |
Definition at line 55 of file qgsvectorlayerundocommand.h.
|
inline |
Returns the layer associated with the undo command.
Definition at line 53 of file qgsvectorlayerundocommand.h.
|
inlineoverride |
Definition at line 56 of file qgsvectorlayerundocommand.h.
|
protected |
Associated edit buffer.
Definition at line 60 of file qgsvectorlayerundocommand.h.