| QGIS API Documentation
    3.22.4-Białowieża (ce8e65e95e)
    | 
Undo command for renaming an existing attribute of a vector layer. More...
#include <qgsvectorlayerundocommand.h>

| Public Member Functions | |
| QgsVectorLayerUndoCommandRenameAttribute (QgsVectorLayerEditBuffer *buffer, int fieldIndex, const QString &newName) | |
| Constructor for QgsVectorLayerUndoCommandRenameAttribute.  More... | |
| void | redo () override | 
| void | undo () override | 
|  Public Member Functions inherited from QgsVectorLayerUndoCommand | |
| 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 | 
| Additional Inherited Members | |
|  Protected Attributes inherited from QgsVectorLayerUndoCommand | |
| QgsVectorLayerEditBuffer * | mBuffer = nullptr | 
| Associated edit buffer.  More... | |
Undo command for renaming an existing attribute of a vector layer.
Definition at line 239 of file qgsvectorlayerundocommand.h.
| QgsVectorLayerUndoCommandRenameAttribute::QgsVectorLayerUndoCommandRenameAttribute | ( | QgsVectorLayerEditBuffer * | buffer, | 
| int | fieldIndex, | ||
| const QString & | newName | ||
| ) | 
Constructor for QgsVectorLayerUndoCommandRenameAttribute.
| buffer | associated edit buffer | 
| fieldIndex | index of field to rename | 
| newName | new name for field | 
Definition at line 417 of file qgsvectorlayerundocommand.cpp.
| 
 | override | 
Definition at line 444 of file qgsvectorlayerundocommand.cpp.
| 
 | override | 
Definition at line 429 of file qgsvectorlayerundocommand.cpp.