]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionselectlayer.cpp
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / actions / actionselectlayer.cpp
index e89f0bdcab14fb9aab9438793ec4898fc115404b..2f6baf3fcc83c97220de97a8bc1dbd5505786fa3 100644 (file)
@@ -21,7 +21,7 @@
 #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;
@@ -40,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)