]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actioneditcopy.cpp
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / actions / actioneditcopy.cpp
index 47103541318f6b3abe763d34b41a47e960672c91..93d6d8be5122d13ee54145d8e98ff8b4d00d0b4b 100644 (file)
@@ -24,7 +24,7 @@
  *
  * @param undo true for undo and false for redo.
  */
-ActionEditCopy::ActionEditCopy(bool copy, RS_EntityContainer & container, GraphicView & graphicView):
+ActionEditCopy::ActionEditCopy(bool copy, EntityContainer & container, GraphicView & graphicView):
        ActionInterface("Edit Copy", container, graphicView)
 {
        this->copy = copy;
@@ -43,12 +43,12 @@ void ActionEditCopy::trigger()
 {
        deleteSnapper();
 
-       RS_Modification m(*container, graphicView);
+       Modification m(*container, graphicView);
        m.copy(referencePoint, !copy);
 
        finish();
        graphicView->killSelectActions();
-       RS_DIALOGFACTORY->updateSelectionWidget(container->countSelected());
+       DIALOGFACTORY->updateSelectionWidget(container->countSelected());
 }
 
 void ActionEditCopy::mouseMoveEvent(QMouseEvent * e)
@@ -84,12 +84,12 @@ void ActionEditCopy::updateMouseButtonHints()
        switch (getStatus())
        {
        case SetReferencePoint:
-               RS_DIALOGFACTORY->updateMouseWidget(tr("Specify reference point"),
+               DIALOGFACTORY->updateMouseWidget(tr("Specify reference point"),
                        tr("Cancel"));
                break;
 
        default:
-               RS_DIALOGFACTORY->updateMouseWidget("", "");
+               DIALOGFACTORY->updateMouseWidget("", "");
                break;
        }
 }
@@ -102,7 +102,7 @@ void ActionEditCopy::updateMouseCursor()
 void ActionEditCopy::updateToolBar()
 {
        if (!isFinished())
-               RS_DIALOGFACTORY->requestToolBar(RS2::ToolBarSnap);
+               DIALOGFACTORY->requestToolBar(RS2::ToolBarSnap);
        else
-               RS_DIALOGFACTORY->requestToolBar(RS2::ToolBarMain);
+               DIALOGFACTORY->requestToolBar(RS2::ToolBarMain);
 }