X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fforms%2Flibrarywidget.cpp;h=a776438de4d8462fa6c63216afe7addff05f0512;hb=865303923fcb231a171992b75a73364ff469ff8c;hp=77f2b78b2445e4ff81020750ba5d482b8e26d2c3;hpb=89e127aa3dbd74d3158e6dbe0ca1703420c04395;p=architektonas diff --git a/src/forms/librarywidget.cpp b/src/forms/librarywidget.cpp index 77f2b78..a776438 100644 --- a/src/forms/librarywidget.cpp +++ b/src/forms/librarywidget.cpp @@ -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 // @@ -17,7 +19,7 @@ #include "drawing.h" #include "rs_staticgraphicview.h" #include "rs_system.h" -#include "paintintf.h" +#include "paintinterface.h" LibraryWidget::LibraryWidget(QWidget * parent/*= 0*/, Qt::WindowFlags flags/*= 0*/): QWidget(parent, flags), actionHandler(NULL) @@ -70,17 +72,17 @@ void LibraryWidget::insert() { if (actionHandler != NULL) { - RS_ActionInterface * a = actionHandler->setCurrentAction(RS2::ActionLibraryInsert); + ActionInterface * a = actionHandler->setCurrentAction(RS2::ActionLibraryInsert); if (a != NULL) { - RS_ActionLibraryInsert * action = (RS_ActionLibraryInsert *)a; + ActionLibraryInsert * action = (ActionLibraryInsert *)a; action->setFile(dxfPath); } else { RS_DEBUG->print(RS_Debug::D_ERROR, "LibraryWidget::insert:" - "Cannot create action RS_ActionLibraryInsert"); + "Cannot create action ActionLibraryInsert"); } } }