-// rs_actionlockrelativezero.cpp
+// actionlockrelativezero.cpp
//
// Part of the Architektonas Project
// Originally part of QCad Community Edition by Andrew Mustun
// JLH 06/04/2010 Added this text. :-)
//
-#include "rs_actionlockrelativezero.h"
+#include "actionlockrelativezero.h"
#include "graphicview.h"
-RS_ActionLockRelativeZero::RS_ActionLockRelativeZero(
+ActionLockRelativeZero::ActionLockRelativeZero(
RS_EntityContainer & container, GraphicView & graphicView, bool on):
- RS_ActionInterface("(Un-)lock the relative Zero", container, graphicView)
+ ActionInterface("(Un-)lock the relative Zero", container, graphicView)
{
this->on = on;
}
-RS_ActionLockRelativeZero::~RS_ActionLockRelativeZero()
+ActionLockRelativeZero::~ActionLockRelativeZero()
{
}
-void RS_ActionLockRelativeZero::init(int status)
+void ActionLockRelativeZero::init(int status)
{
- RS_ActionInterface::init(status);
+ ActionInterface::init(status);
trigger();
finish();
}
-void RS_ActionLockRelativeZero::trigger()
+void ActionLockRelativeZero::trigger()
{
graphicView->lockRelativeZero(on);
}
-