]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_grid.h
Refactoring: Moved RS_GraphicView to GraphicView.
[architektonas] / src / base / rs_grid.h
index 67b3625ab3641b34359b8d85731ad9b79cc8a3f8..d2ba69a76b157aca5b573412624454106e2637c8 100644 (file)
@@ -1,8 +1,11 @@
 #ifndef RS_GRID_H
 #define RS_GRID_H
 
-#include "rs_graphicview.h"
-#include "vector.h"
+#include <QtCore>
+
+//class RS_GraphicView;
+class GraphicView;
+class Vector;
 
 /**
  * This class represents a grid. Grids can be drawn on graphic
@@ -13,7 +16,8 @@
 class RS_Grid
 {
        public:
-               RS_Grid(RS_GraphicView *);
+//             RS_Grid(RS_GraphicView *);
+               RS_Grid(GraphicView *);
                ~RS_Grid();
 
                void update();
@@ -28,7 +32,8 @@ class RS_Grid
 
        protected:
                //! Graphic view this grid is connected to.
-               RS_GraphicView * graphicView;
+//             RS_GraphicView * graphicView;
+               GraphicView * graphicView;
 
                //! Current grid spacing
                double spacing;