Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
CompositeNodeChangeChild (Node *target, Node *newValue, const CompositeIndex &attributeIndex, QVector< QVector< Node * > > *subnodes) | |
virtual void | redo () |
virtual void | undo () |
Public Member Functions inherited from Model::NodeOwningCommand | |
NodeOwningCommand (Node *target, const QString &text, Node *ownedIfDone, Node *ownedIfUndone) | |
virtual | ~NodeOwningCommand () |
virtual Node * | insertedNode () const override |
Returns the node that this command inserted into the tree, or nullptr if no node was inserted. More... | |
virtual Node * | owned () const override |
Returns the node owned by this command or nullptr if no node is owned. More... | |
virtual Node * | removedNode () const override |
Returns the node that this command removed from the tree, or nullptr if no node was removed. More... | |
Public Member Functions inherited from Model::UndoCommand | |
UndoCommand (Node *target, const QString &text) | |
virtual | ~UndoCommand () |
bool | isUndone () const |
Returns whether the command has been undone since it was applied. More... | |
Node * | target () const |
Private Attributes | |
CompositeIndex | attributeIndex |
Node * | newVal |
Node * | oldVal |
QVector< QVector< Node * > > * | subnodes |
Model::CompositeNodeChangeChild::CompositeNodeChangeChild | ( | Node * | target, |
Node * | newValue, | ||
const CompositeIndex & | attributeIndex, | ||
QVector< QVector< Node * > > * | subnodes | ||
) |
|
virtual |
Reimplemented from Model::NodeOwningCommand.
|
virtual |
Reimplemented from Model::NodeOwningCommand.
|
private |
|
private |
|
private |
|
private |