X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Fundocycle.h;fp=src%2Fbase%2Fundocycle.h;h=7b4071da647dfd4e91866455a823d8f1e5e5e99e;hb=16354e0421b316a62c6b9f7b0b4f3b8cf6f06284;hp=e51285eacf070c57fbf3f31f8eb8855e04a81ff4;hpb=3239ef39dcee08fa6e8cd68cdf2727fc68cc7a8c;p=architektonas diff --git a/src/base/undocycle.h b/src/base/undocycle.h index e51285e..7b4071d 100644 --- a/src/base/undocycle.h +++ b/src/base/undocycle.h @@ -4,7 +4,7 @@ #include #include -class RS_Undoable; +class Undoable; /** * An Undo Cycle represents an action that was triggered and can @@ -12,32 +12,32 @@ class RS_Undoable; * the action. Undoables are entities in a container that can be * created and deleted. * - * Undo Cycles are stored within classes derrived from RS_Undo. + * Undo Cycles are stored within classes derrived from Undo. * - * @see RS_Undoable - * @see RS_Undo + * @see Undoable + * @see Undo * * @author Andrew Mustun */ -class RS_UndoCycle +class UndoCycle { - friend class RS_Undo; + friend class Undo; public: - RS_UndoCycle(/*RS2::UndoType type*/); - void addUndoable(RS_Undoable * u); - void removeUndoable(RS_Undoable * u); - RS_Undoable * getFirstUndoable(); - RS_Undoable * getNextUndoable(); - friend std::ostream & operator<<(std::ostream & os, RS_UndoCycle & i); + UndoCycle(/*RS2::UndoType type*/); + void addUndoable(Undoable * u); + void removeUndoable(Undoable * u); + Undoable * getFirstUndoable(); + Undoable * getNextUndoable(); + friend std::ostream & operator<<(std::ostream & os, UndoCycle & i); private: //! Undo type: //RS2::UndoType type; //! List of entity id's that were affected by this action -// Q3PtrList undoables; - QList undoables; - QListIterator undoableIterator; +// Q3PtrList undoables; + QList undoables; + QListIterator undoableIterator; }; #endif