33 #include "scribusapi.h"
34 #include "scguardedptr.h"
72 UndoObject(
const QString &objectName, QPixmap *objectIcon = 0);
81 virtual QString getUName();
87 virtual void setUName(QString newUName);
93 virtual QPixmap* getUPixmap();
99 virtual void setUPixmap(QPixmap *newUPixmap);
105 ulong getUId()
const;
121 virtual void restore(
UndoState* state,
bool isUndo) = 0;
124 static ulong m_nextId;
Definition: undoobject.h:153
UndoState describes an undoable state (action).
Definition: undostate.h:59
void restore(UndoState *, bool)
dummy implementation of the inherited one
Definition: undoobject.h:159
Superclass for all objects that are wanted to have undoable actions.
Definition: undoobject.h:59