// Part of the Architektonas Project
// Originally part of QCad Community Edition by Andrew Mustun
// Extensively rewritten and refactored by James L. Hammons
-// (C) 2010 Underground Software
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
//
// JLH = James L. Hammons <jlhamm@acm.org>
//
#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);