]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionblocksfreezeall.cpp
In the middle of major refactoring...
[architektonas] / src / actions / actionblocksfreezeall.cpp
similarity index 52%
rename from src/actions/rs_actionblocksfreezeall.cpp
rename to src/actions/actionblocksfreezeall.cpp
index ef5f7793e2693e8a97b2914dfdcc042da1ee5489..86321ee7ff3fd97085a7edbbf8bf5f41bf54621a 100644 (file)
@@ -1,4 +1,4 @@
-// rs_actionblocksfreezeall.cpp
+// actionblocksfreezeall.cpp
 //
 // Part of the Architektonas Project
 // Originally part of QCad Community Edition by Andrew Mustun
 // JLH  05/22/2010  Added this text. :-)
 //
 
-#include "rs_actionblocksfreezeall.h"
+#include "actionblocksfreezeall.h"
 
 #include "drawing.h"
 #include "graphicview.h"
 
-RS_ActionBlocksFreezeAll::RS_ActionBlocksFreezeAll(bool freeze, RS_EntityContainer & container, GraphicView & graphicView): RS_ActionInterface("Freeze all Blocks",
-               container, graphicView)
+ActionBlocksFreezeAll::ActionBlocksFreezeAll(bool freeze, RS_EntityContainer & container,
+       GraphicView & graphicView): ActionInterface("Freeze all Blocks", container, graphicView)
 {
        this->freeze = freeze;
 }
 
-RS_ActionBlocksFreezeAll::~RS_ActionBlocksFreezeAll()
+ActionBlocksFreezeAll::~ActionBlocksFreezeAll()
 {
 }
 
-void RS_ActionBlocksFreezeAll::trigger()
+void ActionBlocksFreezeAll::trigger()
 {
-       RS_DEBUG->print("RS_ActionBlocksFreezeAll::trigger");
+       RS_DEBUG->print("ActionBlocksFreezeAll::trigger");
 
-       if (graphic != NULL)
+       if (graphic)
                graphic->freezeAllBlocks(freeze);
 
        graphicView->redraw();
        finish();
 }
 
-void RS_ActionBlocksFreezeAll::init(int status)
+void ActionBlocksFreezeAll::init(int status)
 {
-       RS_ActionInterface::init(status);
+       ActionInterface::init(status);
        trigger();
 }
-