OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
commandmacro.hpp
Go to the documentation of this file.
1 #ifndef CSM_WOLRD_COMMANDMACRO_H
2 #define CSM_WOLRD_COMMANDMACRO_H
3 
4 class QUndoStack;
5 class QUndoCommand;
6 
7 #include <QString>
8 
9 namespace CSMWorld
10 {
12  {
13  QUndoStack& mUndoStack;
14  QString mDescription;
15  bool mStarted;
16 
18  CommandMacro (const CommandMacro&);
19 
22 
23  public:
24 
26  CommandMacro (QUndoStack& undoStack, const QString& description = "");
27 
28  ~CommandMacro();
29 
30  void push (QUndoCommand *command);
31  };
32 }
33 
34 #endif
void push(QUndoCommand *command)
Definition: commandmacro.cpp:17
QString mDescription
Definition: commandmacro.hpp:14
~CommandMacro()
Definition: commandmacro.cpp:11
CommandMacro & operator=(const CommandMacro &)
not implemented
Definition: commandmacro.hpp:11
QUndoStack & mUndoStack
Definition: commandmacro.hpp:13
CommandMacro(const CommandMacro &)
not implemented
bool mStarted
Definition: commandmacro.hpp:15