]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_block.cpp
Start of bringing back missing forms/dialogs
[architektonas] / src / base / rs_block.cpp
index 193f9041312179059ba4464d9ac013992dd6cfe9..15db0de549846d3cefe8b111be34d84012544c37 100644 (file)
@@ -15,7 +15,7 @@
 #include "rs_block.h"
 
 #include <iomanip>
-#include "rs_graphic.h"
+#include "drawing.h"
 
 /**
  * @param parent The graphic this block belongs to.
@@ -44,7 +44,7 @@ RS_Entity * RS_Block::clone()
 
 RS_LayerList * RS_Block::getLayerList()
 {
-       RS_Graphic * g = getGraphic();
+       Drawing * g = getGraphic();
 
        if (g != NULL)
                return g->getLayerList();
@@ -54,7 +54,7 @@ RS_LayerList * RS_Block::getLayerList()
 
 RS_BlockList * RS_Block::getBlockList()
 {
-       RS_Graphic * g = getGraphic();
+       Drawing * g = getGraphic();
 
        if (g != NULL)
                return g->getBlockList();
@@ -64,7 +64,7 @@ RS_BlockList * RS_Block::getBlockList()
 
 bool RS_Block::save()
 {
-       RS_Graphic * g = getGraphic();
+       Drawing * g = getGraphic();
 
        if (g != NULL)
                return g->save();
@@ -74,7 +74,7 @@ bool RS_Block::save()
 
 bool RS_Block::saveAs(const QString & filename, RS2::FormatType type)
 {
-       RS_Graphic * g = getGraphic();
+       Drawing * g = getGraphic();
 
        if (g != NULL)
                return g->saveAs(filename, type);
@@ -87,7 +87,7 @@ bool RS_Block::saveAs(const QString & filename, RS2::FormatType type)
  */
 void RS_Block::setModified(bool m)
 {
-       RS_Graphic * p = getGraphic();
+       Drawing * p = getGraphic();
 
        if (p)
                p->setModified(m);