]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionselectsingle.cpp
Bugfixes related to removing Snapper class.
[architektonas] / src / actions / actionselectsingle.cpp
index daffbf0a2a9e57909bb5db7daa93524763758d71..468e721bd288f5b1a4b9837c4abfb8882fbaab83 100644 (file)
 
 #include "actionselectsingle.h"
 
-#include "rs_debug.h"
-#include "rs_dialogfactory.h"
+#include "debug.h"
+#include "dialogfactory.h"
 #include "graphicview.h"
-#include "rs_selection.h"
+#include "selection.h"
 
-ActionSelectSingle::ActionSelectSingle(RS_EntityContainer & container, GraphicView & graphicView):
+ActionSelectSingle::ActionSelectSingle(EntityContainer & container, GraphicView & graphicView):
        ActionInterface("Select Entities", container, graphicView)
 {
        en = NULL;
@@ -40,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)