]> Shamusworld >> Repos - architektonas/blobdiff - src/base/document.h
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / base / document.h
index dd5463c4624f30ced91669a2be50b4936d63b656..8c0044e1bd499e5e0ff298aca8c5f54df7c9fe73 100644 (file)
@@ -5,8 +5,8 @@
 #include "entitycontainer.h"
 #include "undo.h"
 
-class RS_BlockList;
-class RS_LayerList;
+class BlockList;
+class LayerList;
 
 /**
  * Base class for documents. Documents can be either graphics or
@@ -16,14 +16,14 @@ class RS_LayerList;
  *
  * @author Andrew Mustun
  */
-class RS_Document: public RS_EntityContainer, public RS_Undo
+class Document: public EntityContainer, public Undo
 {
        public:
-               RS_Document(RS_EntityContainer * parent = NULL);
-               virtual ~RS_Document();
+               Document(EntityContainer * parent = NULL);
+               virtual ~Document();
 
-               virtual RS_LayerList * getLayerList() = 0;
-               virtual RS_BlockList * getBlockList() = 0;
+               virtual LayerList * getLayerList() = 0;
+               virtual BlockList * getBlockList() = 0;
 
                virtual void newDoc() = 0;
                virtual bool save() = 0;
@@ -31,9 +31,9 @@ class RS_Document: public RS_EntityContainer, public RS_Undo
                virtual bool open(const QString &filename, RS2::FormatType type) = 0;
 
                virtual bool isDocument() const;
-               virtual void removeUndoable(RS_Undoable * u);
-               RS_Pen getActivePen() const;
-               void setActivePen(RS_Pen p);
+               virtual void removeUndoable(Undoable * u);
+               Pen getActivePen() const;
+               void setActivePen(Pen p);
                QString getFilename() const;
                void setFilename(const QString & fn);
                virtual void setModified(bool m);
@@ -44,7 +44,7 @@ class RS_Document: public RS_EntityContainer, public RS_Undo
                /** Flag set if the document was modified and not yet saved. */
                bool modified;
                /** Active pen. */
-               RS_Pen activePen;
+               Pen activePen;
                /** File name of the document or empty for a new document. */
                QString filename;
                /** Format type */