#define QC_MDIWINDOW_H
#include <QtGui>
-#include "rs_document.h"
+#include "document.h"
#include "layerwidget.h"
#include "pentoolbar.h"
-class RS_EventHandler;
+class EventHandler;
class QG_GraphicView;
/**
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);
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();
//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;
/**