// 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 "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)
{
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)