]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionfileopen.cpp
Phase two of adding polyline functionality...
[architektonas] / src / actions / actionfileopen.cpp
index 1a12881bf242e4a6c4eafd83f18702d39d7622cc..caed4a5b20304aed6e1b59f24e2c0c067c251a37 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"
 
-ActionFileOpen::ActionFileOpen(RS_EntityContainer & container, GraphicView & graphicView):
+ActionFileOpen::ActionFileOpen(EntityContainer & container, GraphicView & graphicView):
        ActionInterface("File Open", container, graphicView)
 {
 }
@@ -29,9 +31,9 @@ void ActionFileOpen::trigger()
 {
        /*
           // Not supported currently
-          RS_DEBUG->print("ActionFileOpen::trigger");
+          DEBUG->print("ActionFileOpen::trigger");
 
-          QString fileName; //= RS_DIALOGFACTORY->requestFileOpenDialog();
+          QString fileName; //= DIALOGFACTORY->requestFileOpenDialog();
           if (graphic!=NULL && !fileName.isEmpty()) {
                graphic->open(fileName, );
           }