X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fforms%2Flinepolygon2options.cpp;h=1a9f6e6d0e18e5b473add1760a79705828653bf1;hb=f62cebc26c7c3af447f0e4e4c43331f8589dce22;hp=1468a1cf4d3069d93901e9a3cc4fea865b2c30af;hpb=95a6dd28327cbd80f9221b1457e7edd4e7230169;p=architektonas diff --git a/src/forms/linepolygon2options.cpp b/src/forms/linepolygon2options.cpp index 1468a1c..1a9f6e6 100644 --- a/src/forms/linepolygon2options.cpp +++ b/src/forms/linepolygon2options.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 "linepolygon2options.h" -#include "rs_actiondrawlinepolygon2.h" -#include "rs_debug.h" +#include "actiondrawlinepolygon2.h" +#include "debug.h" #include "settings.h" LinePolygon2Options::LinePolygon2Options(QToolBar * parent/*= 0*/, Qt::WindowFlags flags/*= 0*/): @@ -46,11 +48,11 @@ LinePolygon2Options::~LinePolygon2Options() settings.endGroup(); } -void LinePolygon2Options::setAction(RS_ActionInterface * a, bool update) +void LinePolygon2Options::setAction(ActionInterface * a, bool update) { if (a != NULL && a->rtti() == RS2::ActionDrawLinePolygon2) { - action = (RS_ActionDrawLinePolygon2 *)a; + action = (ActionDrawLinePolygon2 *)a; QString sn; @@ -67,7 +69,7 @@ void LinePolygon2Options::setAction(RS_ActionInterface * a, bool update) } else { - RS_DEBUG->print(RS_Debug::D_ERROR, "LinePolygon2Options::setAction: wrong action type"); + DEBUG->print(Debug::D_ERROR, "LinePolygon2Options::setAction: wrong action type"); action = NULL; } }