Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
FieldSet (Node *target, T &fieldToSet, T setTo) | |
virtual void | redo () |
virtual void | undo () |
Public Member Functions inherited from Model::UndoCommand | |
UndoCommand (Node *target, const QString &text) | |
virtual | ~UndoCommand () |
virtual Node * | insertedNode () const |
Returns the node that this command inserted into the tree, or nullptr if no node was inserted. More... | |
bool | isUndone () const |
Returns whether the command has been undone since it was applied. More... | |
virtual Node * | owned () const |
Returns the node owned by this command or nullptr if no node is owned. More... | |
virtual Node * | removedNode () const |
Returns the node that this command removed from the tree, or nullptr if no node was removed. More... | |
Node * | target () const |
Protected Attributes | |
T & | field |
T | newValue |
T | oldValue |
|
inline |
|
inlinevirtual |
Reimplemented from Model::UndoCommand.
Reimplemented in Model::NameChange.
|
inlinevirtual |
Reimplemented from Model::UndoCommand.
Reimplemented in Model::NameChange.
|
protected |
|
protected |
|
protected |