]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionlayersedit.cpp
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / actions / actionlayersedit.cpp
index c4a46b9b23e3a48cfbacf1cbbb04a8efd01504e1..21bffbe55a8279901580f3077d84e1e1c5bb3a70 100644 (file)
@@ -20,7 +20,7 @@
 #include "graphicview.h"
 #include "drawing.h"
 
-ActionLayersEdit::ActionLayersEdit(RS_EntityContainer & container, GraphicView & graphicView):
+ActionLayersEdit::ActionLayersEdit(EntityContainer & container, GraphicView & graphicView):
        ActionInterface("Edit Layer", container, graphicView)
 {
 }
@@ -31,22 +31,22 @@ ActionLayersEdit::~ActionLayersEdit()
 
 void ActionLayersEdit::trigger()
 {
-       RS_DEBUG->print("ActionLayersEdit::trigger");
-       RS_Layer * layer = NULL;
+       DEBUG->print("ActionLayersEdit::trigger");
+       Layer * layer = NULL;
 
        if (graphic)
        {
-               layer = RS_DIALOGFACTORY->requestEditLayerDialog(graphic->getLayerList());
+               layer = DIALOGFACTORY->requestEditLayerDialog(graphic->getLayerList());
 
                if (layer)
                {
                        graphic->editLayer(graphic->getActiveLayer(), *layer);
 
                        // Update updatable entities on the layer that has changed
-                       for(RS_Entity * e=graphic->firstEntity(RS2::ResolveNone);
+                       for(Entity * e=graphic->firstEntity(RS2::ResolveNone);
                                e!=NULL; e=graphic->nextEntity(RS2::ResolveNone))
                        {
-                               RS_Layer * l = e->getLayer();
+                               Layer * l = e->getLayer();
 
                                if (l && l->getName() == layer->getName())
                                        e->update();