1
/* ============================================================
2
* Author: Renchi Raju <renchi@pooh.tam.uiuc.edu>
3
* J�rn Ahrens <joern.ahrens@kdemail.net>
5
* Copyright 2005 by Renchi Raju, J�rn Ahrens
7
* This program is free software; you can redistribute it
8
* and/or modify it under the terms of the GNU General
9
* Public License as published by the Free Software Foundation;
10
* either version 2, or (at your option)
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
* ============================================================ */
22
#include <qvaluelist.h>
24
class UndoManagerPriv;
38
UndoManager(Digikam::ImlibInterface* iface);
44
void clear(bool clearCache=true);
47
void getUndoHistory(QStringList &titles);
48
void getRedoHistory(QStringList &titles);
50
void addAction(UndoAction* action);
54
void clearUndoActions();
55
void clearRedoActions();
57
Digikam::ImlibInterface* m_iface;
59
QValueList<UndoAction*> m_undoActions;
60
QValueList<UndoAction*> m_redoActions;
65
#endif /* UNDOMANAGER_H */