X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmainapp%2Fmdiwindow.h;h=4b6943b82932f301e7fdf4b1b87d3f779819607e;hb=92c8661cef41f1109908bf645c0a171e34680183;hp=6b66aef8fedd100544c1ab91c658e75c66b45dd6;hpb=48105dec9198cf5a81dd9286010d0d45e28f70c3;p=architektonas diff --git a/src/mainapp/mdiwindow.h b/src/mainapp/mdiwindow.h index 6b66aef..4b6943b 100644 --- a/src/mainapp/mdiwindow.h +++ b/src/mainapp/mdiwindow.h @@ -2,11 +2,11 @@ #define QC_MDIWINDOW_H #include -#include "rs_document.h" +#include "document.h" #include "layerwidget.h" #include "pentoolbar.h" -class RS_EventHandler; +class EventHandler; class QG_GraphicView; /** @@ -19,15 +19,15 @@ class MDIWindow: public QMdiSubWindow Q_OBJECT public: - MDIWindow(RS_Document * doc, QWidget * parent, const char * name = NULL, + MDIWindow(Document * doc, QWidget * parent, const char * name = NULL, Qt::WindowFlags wflags = Qt::SubWindow); ~MDIWindow(); - void initDoc(RS_Document * doc = NULL); + void initDoc(Document * doc = NULL); void initView(); public slots: - void slotPenChanged(RS_Pen p); + void slotPenChanged(Pen p); void slotFileNew(); bool slotFileOpen(const QString & fileName, RS2::FormatType type); bool slotFileSave(bool & cancelled); @@ -37,9 +37,9 @@ class MDIWindow: public QMdiSubWindow public: QG_GraphicView * getGraphicView(); - RS_Document * getDocument(); + Document * getDocument(); Drawing * getGraphic(); - RS_EventHandler * getEventHandler(); + EventHandler * getEventHandler(); void addChildWindow(MDIWindow * w); void removeChildWindow(MDIWindow * w); MDIWindow * getPrintPreview(); @@ -65,7 +65,7 @@ class MDIWindow: public QMdiSubWindow //let's see if we can get rid of this... QG_GraphicView * graphicView; /** Document */ - RS_Document * document; + Document * document; /** Does the window own the document? */ bool owner; /**