]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionfilesaveas.cpp
Bugfixes related to removing Snapper class.
[architektonas] / src / actions / actionfilesaveas.cpp
index 88a2a4dc39f2ae220d75a8bd6996d5c3c65f7471..f1e8a3b7af60321a68ab5e8011585328a3f3cba2 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>
 //
@@ -16,7 +18,7 @@
 
 #include "drawing.h"
 
-ActionFileSaveAs::ActionFileSaveAs(RS_EntityContainer & container, GraphicView & graphicView):
+ActionFileSaveAs::ActionFileSaveAs(EntityContainer & container, GraphicView & graphicView):
        ActionInterface("Add Layer", container, graphicView)
 {
 }
@@ -27,8 +29,8 @@ ActionFileSaveAs::~ActionFileSaveAs()
 
 void ActionFileSaveAs::trigger()
 {
-       RS_DEBUG->print("ActionFileSaveAs::trigger");
-       QString fileName; // = RS_DIALOGFACTORY->requestFileSaveAsDialog();
+       DEBUG->print("ActionFileSaveAs::trigger");
+       QString fileName; // = DIALOGFACTORY->requestFileSaveAsDialog();
 
        if (graphic != NULL && !fileName.isEmpty())
                graphic->saveAs(fileName, RS2::FormatUnknown);