1 #ifndef RS_UNDOLISTITEM_H
2 #define RS_UNDOLISTITEM_H
10 * An Undo Cycle represents an action that was triggered and can
11 * be undone. It stores all the pointers to the Undoables affected by
12 * the action. Undoables are entities in a container that can be
13 * created and deleted.
15 * Undo Cycles are stored within classes derrived from RS_Undo.
20 * @author Andrew Mustun
27 RS_UndoCycle(/*RS2::UndoType type*/);
28 void addUndoable(RS_Undoable * u);
29 void removeUndoable(RS_Undoable * u);
30 RS_Undoable * getFirstUndoable();
31 RS_Undoable * getNextUndoable();
32 friend std::ostream & operator<<(std::ostream & os, RS_UndoCycle & i);
37 //! List of entity id's that were affected by this action
38 // Q3PtrList<RS_Undoable> undoables;
39 QList<RS_Undoable *> undoables;
40 QListIterator<RS_Undoable *> undoableIterator;