X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factionselectlayer.cpp;h=2f6baf3fcc83c97220de97a8bc1dbd5505786fa3;hb=f62cebc26c7c3af447f0e4e4c43331f8589dce22;hp=bc235ed9ca0843650163af5bfbc702796daa6aa8;hpb=865303923fcb231a171992b75a73364ff469ff8c;p=architektonas diff --git a/src/actions/actionselectlayer.cpp b/src/actions/actionselectlayer.cpp index bc235ed..2f6baf3 100644 --- a/src/actions/actionselectlayer.cpp +++ b/src/actions/actionselectlayer.cpp @@ -16,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; @@ -38,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)