]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionfilenew.cpp
Bugfixes related to removing Snapper class.
[architektonas] / src / actions / actionfilenew.cpp
index e44f3d0bf612d8fb7fdd832c3715cb88b11ea145..e582eb55dfcacc9d92c5ae753e828db530dbf715 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"
 
-ActionFileNew::ActionFileNew(RS_EntityContainer & container, GraphicView & graphicView):
+ActionFileNew::ActionFileNew(EntityContainer & container, GraphicView & graphicView):
        ActionInterface("File New", container, graphicView)
 {
 }
@@ -29,9 +31,9 @@ void ActionFileNew::trigger()
 {
        /*
           // Not supported currently
-          RS_DEBUG->print("ActionFileNew::trigger");
+          DEBUG->print("ActionFileNew::trigger");
 
-          QString fileName; //= RS_DIALOGFACTORY->requestFileNewDialog();
+          QString fileName; //= DIALOGFACTORY->requestFileNewDialog();
           if (graphic!=NULL && !fileName.isEmpty()) {
                graphic->open(fileName, );
           }