]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionlayersadd.cpp
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / actions / actionlayersadd.cpp
index 199b844ccfba3404ed62ae061962006489580c98..ba156aedceaa8290893cc48cbd70857ffded7d68 100644 (file)
@@ -19,7 +19,7 @@
 #include "dialogfactory.h"
 #include "drawing.h"
 
-ActionLayersAdd::ActionLayersAdd(RS_EntityContainer & container, GraphicView & graphicView):
+ActionLayersAdd::ActionLayersAdd(EntityContainer & container, GraphicView & graphicView):
        ActionInterface("Add Layer", container, graphicView)
 {
 }
@@ -30,11 +30,11 @@ ActionLayersAdd::~ActionLayersAdd()
 
 void ActionLayersAdd::trigger()
 {
-       RS_DEBUG->print("add layer");
+       DEBUG->print("add layer");
 
-       if (RS_DIALOGFACTORY && graphic)
+       if (DIALOGFACTORY && graphic)
        {
-               RS_Layer * layer = RS_DIALOGFACTORY->requestNewLayerDialog(graphic->getLayerList());
+               Layer * layer = DIALOGFACTORY->requestNewLayerDialog(graphic->getLayerList());
 
                if (layer)
                        graphic->addLayer(layer);