X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factionselectlayer.cpp;h=2f6baf3fcc83c97220de97a8bc1dbd5505786fa3;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=3bd91322c917565b3f6fa63edbd7f0fdcb3a7ff0;hpb=d774c2655ba2c3657a565f325411144452392277;p=architektonas diff --git a/src/actions/actionselectlayer.cpp b/src/actions/actionselectlayer.cpp index 3bd9132..2f6baf3 100644 --- a/src/actions/actionselectlayer.cpp +++ b/src/actions/actionselectlayer.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,12 @@ #include "actionselectlayer.h" -#include "rs_dialogfactory.h" -#include "rs_selection.h" +#include "debug.h" +#include "dialogfactory.h" +#include "graphicview.h" +#include "selection.h" -ActionSelectLayer::ActionSelectLayer(RS_EntityContainer & container, GraphicView & graphicView): +ActionSelectLayer::ActionSelectLayer(EntityContainer & container, GraphicView & graphicView): ActionInterface("Select Layers", container, graphicView) { en = NULL; @@ -36,14 +40,14 @@ void ActionSelectLayer::trigger() { if (en) { - RS_Selection s(*container, graphicView); + Selection s(*container, graphicView); s.selectLayer(en); - if (RS_DIALOGFACTORY) - RS_DIALOGFACTORY->updateSelectionWidget(container->countSelected()); + if (DIALOGFACTORY) + DIALOGFACTORY->updateSelectionWidget(container->countSelected()); } else - RS_DEBUG->print("ActionSelectLayer::trigger: Entity is NULL\n"); + DEBUG->print("ActionSelectLayer::trigger: Entity is NULL\n"); } void ActionSelectLayer::mouseReleaseEvent(QMouseEvent * e)