]> Shamusworld >> Repos - architektonas/blobdiff - src/widgets/qg_graphicview.h
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / widgets / qg_graphicview.h
index 6990d926a363aba2e8b1ec97cdba8ec35a30ec27..7784ea977acfcd0289a60a4be526ef88bdd67f26 100644 (file)
@@ -4,9 +4,9 @@
 #include <QtGui>
 #include "graphicview.h"
 
-class RS_Document;
+class Document;
 class PaintInterface;
-class RS_Preview;
+class Preview;
 
 /**
  * This is the Qt implementation of a widget which can view a
@@ -21,7 +21,7 @@ class QG_GraphicView: public QWidget, public GraphicView//, public Q3FilePreview
 
        public:
                QG_GraphicView(QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0);
-               QG_GraphicView(RS_Document * doc, QWidget * parent = 0);
+               QG_GraphicView(Document * doc, QWidget * parent = 0);
                virtual ~QG_GraphicView();
 
                virtual int getWidth();
@@ -29,16 +29,16 @@ class QG_GraphicView: public QWidget, public GraphicView//, public Q3FilePreview
                virtual void redraw();
                virtual void adjustOffsetControls();
                virtual void adjustZoomControls();
-               virtual void setBackground(const RS_Color & bg);
+               virtual void setBackground(const Color & bg);
                virtual void setMouseCursor(RS2::CursorType c);
                virtual void updateGridStatusWidget(const QString & text);
 
 // This is just crap. Why have a klunky listener interface when we have slots/signals???
 // That's what I thought!!!
-               // Methods from RS_LayerListListener Interface:
-//             virtual void layerEdited(RS_Layer *);
-//             virtual void layerRemoved(RS_Layer *);
-//             virtual void layerToggled(RS_Layer *);
+               // Methods from LayerListListener Interface:
+//             virtual void layerEdited(Layer *);
+//             virtual void layerRemoved(Layer *);
+//             virtual void layerToggled(Layer *);
 
        protected:
                virtual void emulateMouseMoveEvent();