Go to the documentation of this file.
26 #ifndef __TERRALIB_EDIT_QT_INTERNAL_UNDOSTACKMANAGER_H
27 #define __TERRALIB_EDIT_QT_INTERNAL_UNDOSTACKMANAGER_H
30 #include "../../Feature.h"
31 #include "../../RepositoryManager.h"
32 #include "../Config.h"
94 #endif // __TERRALIB_EDIT_QT_INTERNAL_UNDOSTACKMANAGER_H
#define TEEDITQTEXPORT
You can use this macro in order to export/import classes and functions from this module.
void addUndoStack(QUndoCommand *command)
Method that insert command Undo/Redo of type AddCommand in the Undo/Redo stack.
const std::vector< Feature * > & getAddWatches() const
void addWatch(Feature *feature)
Template support for singleton pattern.
std::vector< Feature * > m_addWatches
UndoStackManager()
It initializes the singleton instance of the repository manager.
QUndoStack * getUndoStack()
Method that return stack of Undo/Redo.
QUndoStack * m_undoStack
Undo/Redo stack.
~UndoStackManager()
Singleton destructor.