|
SILICON
|
#include <undoCommands.hpp>
Public Types | |
| using | ApplyFn = std::function<void(const std::string&)> |
Public Member Functions | |
| MetadataEditCommand (QString text, std::string oldValue, std::string newValue, ApplyFn apply, QUndoCommand *parent=nullptr) | |
| void | undo () override |
| void | redo () override |
Private Attributes | |
| std::string | oldValue |
| std::string | newValue |
| ApplyFn | apply |
Definition at line 100 of file undoCommands.hpp.
| using ApplyFn = std::function<void(const std::string&)> |
Definition at line 102 of file undoCommands.hpp.
| MetadataEditCommand | ( | QString | text, |
| std::string | oldValue, | ||
| std::string | newValue, | ||
| ApplyFn | apply, | ||
| QUndoCommand * | parent = nullptr ) |
Definition at line 470 of file undoCommands.cpp.
|
override |
Definition at line 485 of file undoCommands.cpp.
|
override |
Definition at line 480 of file undoCommands.cpp.
|
private |
Definition at line 112 of file undoCommands.hpp.
|
private |
Definition at line 111 of file undoCommands.hpp.
|
private |
Definition at line 110 of file undoCommands.hpp.