X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fforms%2Flinepolygonoptions.cpp;h=1a4b3220f2b1916efbb174ebc27d8945f704cf27;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=c0b42cd53cf5781b9ec4243cfadd9c2f34d8e2dc;hpb=95a6dd28327cbd80f9221b1457e7edd4e7230169;p=architektonas diff --git a/src/forms/linepolygonoptions.cpp b/src/forms/linepolygonoptions.cpp index c0b42cd..1a4b322 100644 --- a/src/forms/linepolygonoptions.cpp +++ b/src/forms/linepolygonoptions.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 // @@ -14,8 +16,8 @@ #include "linepolygonoptions.h" -#include "rs_actiondrawlinepolygon.h" -#include "rs_debug.h" +#include "actiondrawlinepolygon.h" +#include "debug.h" #include "settings.h" LinePolygonOptions::LinePolygonOptions(QToolBar * parent/*= 0*/, Qt::WindowFlags flags/*= 0*/): @@ -46,11 +48,11 @@ LinePolygonOptions::~LinePolygonOptions() settings.endGroup(); } -void LinePolygonOptions::setAction(RS_ActionInterface * a, bool update) +void LinePolygonOptions::setAction(ActionInterface * a, bool update) { if (a != NULL && a->rtti() == RS2::ActionDrawLinePolygon) { - action = (RS_ActionDrawLinePolygon *)a; + action = (ActionDrawLinePolygon *)a; QString sn; @@ -67,7 +69,7 @@ void LinePolygonOptions::setAction(RS_ActionInterface * a, bool update) } else { - RS_DEBUG->print(RS_Debug::D_ERROR, "LinePolygonOptions::setAction: wrong action type"); + DEBUG->print(Debug::D_ERROR, "LinePolygonOptions::setAction: wrong action type"); action = NULL; } }