X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factionblocksadd.cpp;h=f2f9e8f292c2793afa6a5ca4b0d100f062f75338;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=5e04f82edf285bbfceb58f1886e41453ed7358ff;hpb=865303923fcb231a171992b75a73364ff469ff8c;p=architektonas diff --git a/src/actions/actionblocksadd.cpp b/src/actions/actionblocksadd.cpp index 5e04f82..f2f9e8f 100644 --- a/src/actions/actionblocksadd.cpp +++ b/src/actions/actionblocksadd.cpp @@ -17,9 +17,9 @@ #include "actionblocksadd.h" #include "drawing.h" -#include "rs_dialogfactory.h" +#include "dialogfactory.h" -ActionBlocksAdd::ActionBlocksAdd(RS_EntityContainer & container, GraphicView & graphicView): +ActionBlocksAdd::ActionBlocksAdd(EntityContainer & container, GraphicView & graphicView): ActionInterface("Add Block", container, graphicView) { } @@ -30,18 +30,18 @@ ActionBlocksAdd::~ActionBlocksAdd() void ActionBlocksAdd::trigger() { - RS_DEBUG->print("adding block"); + DEBUG->print("adding block"); if (graphic) { - RS_BlockList * blockList = graphic->getBlockList(); + BlockList * blockList = graphic->getBlockList(); if (blockList) { - RS_BlockData d = RS_DIALOGFACTORY->requestNewBlockDialog(blockList); + BlockData d = DIALOGFACTORY->requestNewBlockDialog(blockList); if (d.isValid()) - graphic->addBlock(new RS_Block(container, d)); + graphic->addBlock(new Block(container, d)); } }