QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
Base class for undo commands within a QgsVectorLayerEditBuffer. More...
#include <qgsvectorlayerundocommand.h>
Public Member Functions | |
QgsVectorLayerUndoCommand (QgsVectorLayerEditBuffer *buffer) | |
Constructor for QgsVectorLayerUndoCommand. More... | |
int | id () const override |
QgsVectorLayer * | layer () |
Returns the layer associated with the undo command. More... | |
bool | mergeWith (const QUndoCommand *) override |
Protected Attributes | |
QgsVectorLayerEditBuffer * | mBuffer = nullptr |
Associated edit buffer. More... | |
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.