X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Frs_block.cpp;h=15db0de549846d3cefe8b111be34d84012544c37;hb=3f46c180da0806c9c263e6d87d0f1404632402da;hp=193f9041312179059ba4464d9ac013992dd6cfe9;hpb=16ce54abf01ca3032e42a5bb11a4afcf9014dcca;p=architektonas diff --git a/src/base/rs_block.cpp b/src/base/rs_block.cpp index 193f904..15db0de 100644 --- a/src/base/rs_block.cpp +++ b/src/base/rs_block.cpp @@ -15,7 +15,7 @@ #include "rs_block.h" #include -#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);