QgsVectorLayerUndoCommandRenameAttribute class

Undo command for renaming an existing attribute of a vector layer.

Base classes

class QgsVectorLayerUndoCommand
Base class for undo commands within a QgsVectorLayerEditBuffer.

Constructors, destructors, conversion operators

QgsVectorLayerUndoCommandRenameAttribute(QgsVectorLayerEditBuffer* buffer, int fieldIndex, const QString& newName)
Constructor for QgsVectorLayerUndoCommandRenameAttribute.

Function documentation

QgsVectorLayerUndoCommandRenameAttribute::QgsVectorLayerUndoCommandRenameAttribute(QgsVectorLayerEditBuffer* buffer, int fieldIndex, const QString& newName)

Constructor for QgsVectorLayerUndoCommandRenameAttribute.

Parameters
buffer associated edit buffer
fieldIndex index of field to rename
newName new name for field