1 // rs_actionfilenew.cpp
3 // Part of the Architektonas Project
4 // Originally part of QCad Community Edition by Andrew Mustun
5 // Extensively rewritten and refactored by James L. Hammons
6 // (C) 2010 Underground Software
8 // JLH = James L. Hammons <jlhamm@acm.org>
11 // --- ---------- -----------------------------------------------------------
12 // JLH 06/04/2010 Added this text. :-)
15 #include "rs_actionfilenew.h"
17 //#include "drawing.h"
19 RS_ActionFileNew::RS_ActionFileNew(RS_EntityContainer & container, GraphicView & graphicView):
20 RS_ActionInterface("File New", container, graphicView)
24 RS_ActionFileNew::~RS_ActionFileNew()
28 void RS_ActionFileNew::trigger()
31 // Not supported currently
32 RS_DEBUG->print("RS_ActionFileNew::trigger");
34 QString fileName; //= RS_DIALOGFACTORY->requestFileNewDialog();
35 if (graphic!=NULL && !fileName.isEmpty()) {
36 graphic->open(fileName, );
42 void RS_ActionFileNew::init(int status)
44 RS_ActionInterface::init(status);