#include "dialogfactory.h"
#include "graphicview.h"
-ActionSetRelativeZero::ActionSetRelativeZero(RS_EntityContainer & container,
+ActionSetRelativeZero::ActionSetRelativeZero(EntityContainer & container,
GraphicView & graphicView): ActionInterface("Set the relative Zero",
container, graphicView)
{
switch (getStatus())
{
case 0:
- RS_DIALOGFACTORY->updateMouseWidget(tr("Set relative Zero"), tr("Cancel"));
+ DIALOGFACTORY->updateMouseWidget(tr("Set relative Zero"), tr("Cancel"));
break;
default:
- RS_DIALOGFACTORY->updateMouseWidget("", "");
+ DIALOGFACTORY->updateMouseWidget("", "");
break;
}
}
void ActionSetRelativeZero::updateToolBar()
{
if (!isFinished())
- RS_DIALOGFACTORY->requestToolBar(RS2::ToolBarSnap);
+ DIALOGFACTORY->requestToolBar(RS2::ToolBarSnap);
else
- RS_DIALOGFACTORY->requestToolBar(RS2::ToolBarSnap);
+ DIALOGFACTORY->requestToolBar(RS2::ToolBarSnap);
}