kalzium
Avogadro::UndoSequence Class Reference
#include <undosequence.h>
Inheritance diagram for Avogadro::UndoSequence:

Detailed Description
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.
Definition at line 45 of file src/undosequence.h.
Public Member Functions | |
| void | append (QUndoCommand *command) |
| virtual void | redo () |
| virtual void | undo () |
| UndoSequence () | |
| ~UndoSequence () | |
Constructor & Destructor Documentation
| Avogadro::UndoSequence::UndoSequence | ( | ) |
Definition at line 37 of file undosequence.cpp.
| Avogadro::UndoSequence::~UndoSequence | ( | ) |
Definition at line 41 of file undosequence.cpp.
Member Function Documentation
| void Avogadro::UndoSequence::append | ( | QUndoCommand * | command | ) |
| void Avogadro::UndoSequence::redo | ( | ) | [virtual] |
| void Avogadro::UndoSequence::undo | ( | ) | [virtual] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference