]> Shamusworld >> Repos - architektonas/blobdiff - src/forms/circleoptions.cpp
Initial phase of adding polyline functionality. DOES NOT COMPILE.
[architektonas] / src / forms / circleoptions.cpp
index ceef550a9f32c2df7b3a043be65311fbfc5c793d..a0c38a423561270a22da22807613041593c6fe35 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>
 //
 
 #include "circleoptions.h"
 
-#include "rs.h"
+#include "enums.h"
 #include "actioninterface.h"
 #include "actiondrawcirclecr.h"
+#include "debug.h"
 #include "settings.h"
 
 CircleOptions::CircleOptions(QToolBar * parent/*= 0*/, Qt::WindowFlags flags/*= 0*/):
@@ -69,7 +72,7 @@ void CircleOptions::setAction(ActionInterface * a, bool update)
        }
        else
        {
-               RS_DEBUG->print(RS_Debug::D_ERROR,
+               DEBUG->print(Debug::D_ERROR,
                        "CircleOptions::setAction: wrong action type");
                action = NULL;
        }
@@ -78,5 +81,5 @@ void CircleOptions::setAction(ActionInterface * a, bool update)
 void CircleOptions::updateRadius(const QString & r)
 {
        if (action != NULL)
-               action->setRadius(RS_Math::eval(r));
+               action->setRadius(Math::eval(r));
 }