#include "rs_block.h"
#include <iomanip>
-#include "rs_graphic.h"
+#include "drawing.h"
/**
* @param parent The graphic this block belongs to.
RS_LayerList * RS_Block::getLayerList()
{
- RS_Graphic * g = getGraphic();
+ Drawing * g = getGraphic();
if (g != NULL)
return g->getLayerList();
RS_BlockList * RS_Block::getBlockList()
{
- RS_Graphic * g = getGraphic();
+ Drawing * g = getGraphic();
if (g != NULL)
return g->getBlockList();
bool RS_Block::save()
{
- RS_Graphic * g = getGraphic();
+ Drawing * g = getGraphic();
if (g != NULL)
return g->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);
*/
void RS_Block::setModified(bool m)
{
- RS_Graphic * p = getGraphic();
+ Drawing * p = getGraphic();
if (p)
p->setModified(m);