QCAD Application Framework
CAD Application Development and Automation.
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RTransactionStack.h
Go to the documentation of this file.
1
#ifndef RTRANSACTIONSTACK_H
2
#define RTRANSACTIONSTACK_H
3
4
#include <QMetaType>
5
6
#include "
RNonCopyable.h
"
7
#include "
RTransaction.h
"
8
9
class
RDocument
;
10
18
class
RTransactionStack
:
RNonCopyable
{
19
public
:
20
RTransactionStack
(
RDocument
&
document
);
21
~RTransactionStack
();
22
23
void
reset
();
24
25
RTransaction
undo
();
26
RTransaction
redo
();
27
bool
isUndoAvailable
()
const
;
28
bool
isRedoAvailable
()
const
;
29
30
private
:
31
RDocument
&
document
;
32
};
33
34
Q_DECLARE_METATYPE
(
RTransactionStack
*)
35
36
#endif
src
core
RTransactionStack.h
Generated on Tue Jun 26 2012 18:41:07 for QCAD Application Framework by
1.8.1.1