Avogadro
1.1.0
|
Provides a sequence of Undo/Redo commands in a single command. More...
#include <avogadro/undosequence.h>
Public Member Functions | |
void | append (QUndoCommand *command) |
virtual void | undo () |
virtual void | redo () |
Provides a sequence of Undo/Redo commands in a single command.
This class simply acts as grouping of Undo/Redo commands. As commands are added, that is how they will be executed in the Redo stage. In the Undo stage they are executed in reverse order. However, they are not merged, they are left as they are but under a single command.
void Avogadro::UndoSequence::append | ( | QUndoCommand * | command | ) |
command | Command to add to the sequence |