X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fforms%2Flinebisectoroptions.cpp;h=6d09a7fe8af92fc2690fee9eee4cb57fcbbc9a8e;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=ac7a8dba88dbc3d968c4d2c09536269bdf5cf2e1;hpb=95a6dd28327cbd80f9221b1457e7edd4e7230169;p=architektonas diff --git a/src/forms/linebisectoroptions.cpp b/src/forms/linebisectoroptions.cpp index ac7a8db..6d09a7f 100644 --- a/src/forms/linebisectoroptions.cpp +++ b/src/forms/linebisectoroptions.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 "linebisectoroptions.h" -#include "rs_actiondrawlinebisector.h" +#include "actiondrawlinebisector.h" +#include "debug.h" #include "settings.h" LineBisectorOptions::LineBisectorOptions(QToolBar * parent/*= 0*/, Qt::WindowFlags flags/*= 0*/): @@ -51,11 +54,11 @@ LineBisectorOptions::~LineBisectorOptions() settings.endGroup(); } -void LineBisectorOptions::setAction(RS_ActionInterface * a, bool update) +void LineBisectorOptions::setAction(ActionInterface * a, bool update) { if (a != NULL && a->rtti() == RS2::ActionDrawLineBisector) { - action = (RS_ActionDrawLineBisector *)a; + action = (ActionDrawLineBisector *)a; QString sl; QString sn; @@ -78,7 +81,7 @@ void LineBisectorOptions::setAction(RS_ActionInterface * a, bool update) } else { - RS_DEBUG->print(RS_Debug::D_ERROR, "LineBisectorOptions::setAction: wrong action type"); + DEBUG->print(Debug::D_ERROR, "LineBisectorOptions::setAction: wrong action type"); action = NULL; } } @@ -86,7 +89,7 @@ void LineBisectorOptions::setAction(RS_ActionInterface * a, bool update) void LineBisectorOptions::updateLength(const QString & l) { if (action != NULL) - action->setLength(RS_Math::eval(l)); + action->setLength(Math::eval(l)); } void LineBisectorOptions::updateNumber(int n)