]> Shamusworld >> Repos - architektonas/blobdiff - src/forms/lineparallelthroughoptions.cpp
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / lineparallelthroughoptions.cpp
index d5f994e6e24e11bfcf3e12464e867a9a16a94fc7..8e96d5fc6be7ef40ca077722c100c0c858a1339d 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>
 //
@@ -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;
        }
 }