-// 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();
}
-