// 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 "actionblocksattributes.h"
#include "drawing.h"
-#include "rs_dialogfactory.h"
+#include "dialogfactory.h"
ActionBlocksAttributes::ActionBlocksAttributes(
- RS_EntityContainer & container, GraphicView & graphicView):
+ EntityContainer & container, GraphicView & graphicView):
ActionInterface("Edit Block Attributes", container, graphicView)
{
}
void ActionBlocksAttributes::trigger()
{
- RS_DEBUG->print("editing block attributes");
+ DEBUG->print("editing block attributes");
- if (graphic && RS_DIALOGFACTORY)
+ if (graphic && DIALOGFACTORY)
{
- RS_Block * block = graphic->getActiveBlock();
- RS_BlockList * blockList = graphic->getBlockList();
+ Block * block = graphic->getActiveBlock();
+ BlockList * blockList = graphic->getBlockList();
if (blockList && block)
{
QString oldName = block->getName();
- RS_BlockData d = RS_DIALOGFACTORY->requestBlockAttributesDialog(blockList);
+ BlockData d = DIALOGFACTORY->requestBlockAttributesDialog(blockList);
if (d.isValid())
{