Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
NameChange (NameText *target, QString &fieldToSet, QString setTo) | |
virtual void | redo () |
virtual void | undo () |
Public Member Functions inherited from Model::FieldSet< QString > | |
FieldSet (Node *target, QString &fieldToSet, QString setTo) | |
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 |
Additional Inherited Members | |
Protected Attributes inherited from Model::FieldSet< QString > | |
QString & | field |
QString | newValue |
QString | oldValue |
Model::NameChange::NameChange | ( | NameText * | target, |
QString & | fieldToSet, | ||
QString | setTo | ||
) |
|
virtual |
Reimplemented from Model::FieldSet< QString >.
|
virtual |
Reimplemented from Model::FieldSet< QString >.