|
wiRedPanda
Logic Circuit Simulator
|
Undo command that renames a blob in the IC registry. More...
#include <Commands.h>
Public Member Functions | |
| void | redo () override |
| RenameBlobCommand (const QString &oldName, const QString &newName, Scene *scene, QUndoCommand *parent=nullptr) | |
| void | undo () override |
Undo command that renames a blob in the IC registry.
Pushed standalone (never sharing a transaction with an UpdateCommand) so a rename is its own independent undo step — see ElementEditor's lineEditBlobName editingFinished handler.
Definition at line 497 of file Commands.h.
| RenameBlobCommand::RenameBlobCommand | ( | const QString & | oldName, |
| const QString & | newName, | ||
| Scene * | scene, | ||
| QUndoCommand * | parent = nullptr ) |
Definition at line 1164 of file Commands.cpp.
|
override |
Definition at line 1173 of file Commands.cpp.
|
override |
Definition at line 1178 of file Commands.cpp.