X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factionselectsingle.cpp;h=468e721bd288f5b1a4b9837c4abfb8882fbaab83;hb=f62cebc26c7c3af447f0e4e4c43331f8589dce22;hp=9a54b6fee26ba415839ca501a0e109641b361f19;hpb=865303923fcb231a171992b75a73364ff469ff8c;p=architektonas diff --git a/src/actions/actionselectsingle.cpp b/src/actions/actionselectsingle.cpp index 9a54b6f..468e721 100644 --- a/src/actions/actionselectsingle.cpp +++ b/src/actions/actionselectsingle.cpp @@ -16,10 +16,12 @@ #include "actionselectsingle.h" -#include "rs_dialogfactory.h" -#include "rs_selection.h" +#include "debug.h" +#include "dialogfactory.h" +#include "graphicview.h" +#include "selection.h" -ActionSelectSingle::ActionSelectSingle(RS_EntityContainer & container, GraphicView & graphicView): +ActionSelectSingle::ActionSelectSingle(EntityContainer & container, GraphicView & graphicView): ActionInterface("Select Entities", container, graphicView) { en = NULL; @@ -38,13 +40,13 @@ void ActionSelectSingle::trigger() { if (en != NULL) { - RS_Selection s(*container, graphicView); + Selection s(*container, graphicView); s.selectSingle(en); - RS_DIALOGFACTORY->updateSelectionWidget(container->countSelected()); + DIALOGFACTORY->updateSelectionWidget(container->countSelected()); } else - RS_DEBUG->print("ActionSelectSingle::trigger: Entity is NULL\n"); + DEBUG->print("ActionSelectSingle::trigger: Entity is NULL\n"); } void ActionSelectSingle::keyPressEvent(QKeyEvent * e)