]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actioneditundo.cpp
Bugfixes related to removing Snapper class.
[architektonas] / src / actions / actioneditundo.cpp
index 17dd207305c71cceb2d29111caff84be769c09d7..11ed2fc2e4eb1e2c017b34764ee522c17151fa4a 100644 (file)
@@ -3,7 +3,9 @@
 // Part of the Architektonas Project
 // Originally part of QCad Community Edition by Andrew Mustun
 // Extensively rewritten and refactored by James L. Hammons
-// (C) 2010 Underground Software
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
 //
 // JLH = James L. Hammons <jlhamm@acm.org>
 //
@@ -14,7 +16,7 @@
 
 #include "actioneditundo.h"
 
-#include "rs_dialogfactory.h"
+#include "dialogfactory.h"
 #include "graphicview.h"
 
 /**
@@ -22,7 +24,7 @@
  *
  * @param undo true for undo and false for redo.
  */
-ActionEditUndo::ActionEditUndo(bool undo, RS_EntityContainer & container, GraphicView & graphicView): ActionInterface("Edit Undo", container, graphicView)
+ActionEditUndo::ActionEditUndo(bool undo, EntityContainer & container, GraphicView & graphicView): ActionInterface("Edit Undo", container, graphicView)
 {
        this->undo = undo;
 }
@@ -49,5 +51,5 @@ void ActionEditUndo::trigger()
        graphicView->redraw();
 
        finish();
-       RS_DIALOGFACTORY->updateSelectionWidget(container->countSelected());
+       DIALOGFACTORY->updateSelectionWidget(container->countSelected());
 }