Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
SetModificationTarget (Node *&field, NodeReadWriteLock *&lock, QSet< Node * > &modifiedTargets, Node *newTarget) | |
In the constructor below field and lock are references to the corresponding fields in Model::TreeManager. More... | |
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 |
Private Attributes | |
Node *& | field |
NodeReadWriteLock *& | lock |
QSet< Node * > & | modifiedTargets |
Node * | newTarget |
Node * | oldTarget |
Model::SetModificationTarget::SetModificationTarget | ( | Node *& | field, |
NodeReadWriteLock *& | lock, | ||
QSet< Node * > & | modifiedTargets, | ||
Node * | newTarget | ||
) |
In the constructor below field and lock are references to the corresponding fields in Model::TreeManager.
|
virtual |
Reimplemented from Model::UndoCommand.
|
virtual |
Reimplemented from Model::UndoCommand.
|
private |
|
private |
|
private |
|
private |
|
private |