|
QCAD Application Framework
CAD Application Development and Automation.
|
A transaction stack handles transactions on a document. More...
#include <RTransactionStack.h>
Public Member Functions | |
| bool | isRedoAvailable () const |
| bool | isUndoAvailable () const |
| RTransaction | redo () |
| Redoes the last transaction. | |
| void | reset () |
| RTransactionStack (RDocument &document) | |
| RTransaction | undo () |
| Undoes the last transaction. | |
| ~RTransactionStack () | |
Private Attributes | |
| RDocument & | document |
Additional Inherited Members |
A transaction stack handles transactions on a document.
Transactions are stored in a storage implementation. Transactions can be undone and redone.
| RTransactionStack::RTransactionStack | ( | RDocument & | document | ) |
| RTransactionStack::~RTransactionStack | ( | ) |
| bool RTransactionStack::isRedoAvailable | ( | ) | const |
| bool RTransactionStack::isUndoAvailable | ( | ) | const |
| RTransaction RTransactionStack::redo | ( | ) |
Redoes the last transaction.
| void RTransactionStack::reset | ( | ) |
| RTransaction RTransactionStack::undo | ( | ) |
Undoes the last transaction.
|
private |