]> Shamusworld >> Repos - architektonas/blobdiff - src/forms/lineparalleloptions.cpp
Initial phase of adding polyline functionality. DOES NOT COMPILE.
[architektonas] / src / forms / lineparalleloptions.cpp
index 5879357630e81bf3acae69b670263ee5d842e541..39637ec16ca05cbbf7bfacd201d31ade916b5d5e 100644 (file)
@@ -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 <jlhamm@acm.org>
 //
@@ -15,6 +17,7 @@
 #include "lineparalleloptions.h"
 
 #include "actiondrawlineparallel.h"
+#include "debug.h"
 #include "settings.h"
 
 LineParallelOptions::LineParallelOptions(QToolBar * parent/*= 0*/, Qt::WindowFlags flags/*= 0*/):
@@ -78,7 +81,7 @@ void LineParallelOptions::setAction(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(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)