X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fforms%2Flineparallelthroughoptions.cpp;h=8e96d5fc6be7ef40ca077722c100c0c858a1339d;hb=f62cebc26c7c3af447f0e4e4c43331f8589dce22;hp=d5f994e6e24e11bfcf3e12464e867a9a16a94fc7;hpb=95a6dd28327cbd80f9221b1457e7edd4e7230169;p=architektonas diff --git a/src/forms/lineparallelthroughoptions.cpp b/src/forms/lineparallelthroughoptions.cpp index d5f994e..8e96d5f 100644 --- a/src/forms/lineparallelthroughoptions.cpp +++ b/src/forms/lineparallelthroughoptions.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,7 +16,8 @@ #include "lineparallelthroughoptions.h" -#include "rs_actiondrawlineparallelthrough.h" +#include "actiondrawlineparallelthrough.h" +#include "debug.h" #include "settings.h" LineParallelThroughOptions::LineParallelThroughOptions(QToolBar * parent/*= 0*/, Qt::WindowFlags flags/*= 0*/): @@ -45,11 +48,11 @@ LineParallelThroughOptions::~LineParallelThroughOptions() settings.endGroup(); } -void LineParallelThroughOptions::setAction(RS_ActionInterface * a, bool update) +void LineParallelThroughOptions::setAction(ActionInterface * a, bool update) { if (a != NULL && a->rtti() == RS2::ActionDrawLineParallelThrough) { - action = (RS_ActionDrawLineParallelThrough *)a; + action = (ActionDrawLineParallelThrough *)a; QString sn; @@ -66,7 +69,7 @@ void LineParallelThroughOptions::setAction(RS_ActionInterface * a, bool update) } else { - RS_DEBUG->print(RS_Debug::D_ERROR, "LineParallelThroughOptions::setAction: wrong action type"); + DEBUG->print(Debug::D_ERROR, "LineParallelThroughOptions::setAction: wrong action type"); action = NULL; } }