]> Shamusworld >> Repos - architektonas/blobdiff - src/base/undocycle.h
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / base / undocycle.h
index e51285eacf070c57fbf3f31f8eb8855e04a81ff4..7b4071da647dfd4e91866455a823d8f1e5e5e99e 100644 (file)
@@ -4,7 +4,7 @@
 #include <iostream>
 #include <QtCore>
 
-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<RS_Undoable> undoables;
-               QList<RS_Undoable *> undoables;
-               QListIterator<RS_Undoable *> undoableIterator;
+//             Q3PtrList<Undoable> undoables;
+               QList<Undoable *> undoables;
+               QListIterator<Undoable *> undoableIterator;
 };
 
 #endif