X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factionlayersremove.cpp;h=47b738715547a1fff4d6a2c8df461d9657e147ed;hb=e1d1cacbb43055988d0d9db632fdf05c0bea9543;hp=ac6bd42a60345dca98f59f231f6c0859913b7f9c;hpb=d774c2655ba2c3657a565f325411144452392277;p=architektonas diff --git a/src/actions/actionlayersremove.cpp b/src/actions/actionlayersremove.cpp index ac6bd42..47b7387 100644 --- a/src/actions/actionlayersremove.cpp +++ b/src/actions/actionlayersremove.cpp @@ -3,7 +3,9 @@ // 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 // @@ -14,10 +16,10 @@ #include "actionlayersremove.h" -#include "rs_dialogfactory.h" +#include "dialogfactory.h" #include "drawing.h" -ActionLayersRemove::ActionLayersRemove(RS_EntityContainer & container, +ActionLayersRemove::ActionLayersRemove(EntityContainer & container, GraphicView & graphicView): ActionInterface("Remove Layer", container, graphicView) { @@ -29,19 +31,19 @@ ActionLayersRemove::~ActionLayersRemove() void ActionLayersRemove::trigger() { - RS_DEBUG->print("ActionLayersRemove::trigger"); + DEBUG->print("ActionLayersRemove::trigger"); if (graphic) { - RS_Layer * layer = - RS_DIALOGFACTORY->requestLayerRemovalDialog(graphic->getLayerList()); + Layer * layer = + DIALOGFACTORY->requestLayerRemovalDialog(graphic->getLayerList()); // Now remove the layer from the layer list: graphic->removeLayer(layer); } finish(); - RS_DIALOGFACTORY->updateSelectionWidget(container->countSelected()); + DIALOGFACTORY->updateSelectionWidget(container->countSelected()); } void ActionLayersRemove::init(int status)