X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fforms%2Flineparalleloptions.cpp;h=39637ec16ca05cbbf7bfacd201d31ade916b5d5e;hb=f62cebc26c7c3af447f0e4e4c43331f8589dce22;hp=f55bf966a0ea69aee70abf969e49cb7bb0831011;hpb=95a6dd28327cbd80f9221b1457e7edd4e7230169;p=architektonas diff --git a/src/forms/lineparalleloptions.cpp b/src/forms/lineparalleloptions.cpp index f55bf96..39637ec 100644 --- a/src/forms/lineparalleloptions.cpp +++ b/src/forms/lineparalleloptions.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 "lineparalleloptions.h" -#include "rs_actiondrawlineparallel.h" +#include "actiondrawlineparallel.h" +#include "debug.h" #include "settings.h" LineParallelOptions::LineParallelOptions(QToolBar * parent/*= 0*/, Qt::WindowFlags flags/*= 0*/): @@ -51,11 +54,11 @@ LineParallelOptions::~LineParallelOptions() settings.endGroup(); } -void LineParallelOptions::setAction(RS_ActionInterface * a, bool update) +void LineParallelOptions::setAction(ActionInterface * a, bool update) { if (a != NULL && a->rtti() == RS2::ActionDrawLineParallel) { - action = (RS_ActionDrawLineParallel *)a; + action = (ActionDrawLineParallel *)a; QString sd; QString sn; @@ -78,7 +81,7 @@ void LineParallelOptions::setAction(RS_ActionInterface * a, bool update) } else { - RS_DEBUG->print(RS_Debug::D_ERROR, "LineParallelOptions::setAction: wrong action type"); + DEBUG->print(Debug::D_ERROR, "LineParallelOptions::setAction: wrong action type"); action = NULL; } } @@ -86,7 +89,7 @@ void LineParallelOptions::setAction(RS_ActionInterface * a, bool update) void LineParallelOptions::updateDist(const QString & d) { if (action != NULL) - action->setDistance(RS_Math::eval(d)); + action->setDistance(Math::eval(d)); } void LineParallelOptions::updateNumber(int n)