X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Fdocument.h;h=8c0044e1bd499e5e0ff298aca8c5f54df7c9fe73;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=dd5463c4624f30ced91669a2be50b4936d63b656;hpb=3239ef39dcee08fa6e8cd68cdf2727fc68cc7a8c;p=architektonas diff --git a/src/base/document.h b/src/base/document.h index dd5463c..8c0044e 100644 --- a/src/base/document.h +++ b/src/base/document.h @@ -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 */