X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fforms%2Farcoptions.cpp;h=bd22b5ad8ab89245e8a5ffc9ec676b1ac263bfc9;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=2f95fb9f2d76cbbff6a24ed048af67f54fee89e6;hpb=0e80da8b560e09124c527f3544859e0c31157ce4;p=architektonas diff --git a/src/forms/arcoptions.cpp b/src/forms/arcoptions.cpp index 2f95fb9..bd22b5a 100644 --- a/src/forms/arcoptions.cpp +++ b/src/forms/arcoptions.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 // @@ -15,8 +17,9 @@ #include "arcoptions.h" -#include "rs_actiondrawarc.h" -#include "rs_actioninterface.h" +#include "actiondrawarc.h" +#include "actioninterface.h" +#include "debug.h" #include "settings.h" ArcOptions::ArcOptions(QToolBar * parent/*= 0*/, Qt::WindowFlags flags/*= 0*/): @@ -49,11 +52,11 @@ ArcOptions::~ArcOptions() settings.endGroup(); } -void ArcOptions::setAction(RS_ActionInterface * a, bool update) +void ArcOptions::setAction(ActionInterface * a, bool update) { if (a != NULL && a->rtti() == RS2::ActionDrawArc) { - action = (RS_ActionDrawArc *)a; + action = (ActionDrawArc *)a; bool reversed; @@ -71,7 +74,7 @@ void ArcOptions::setAction(RS_ActionInterface * a, bool update) } else { - RS_DEBUG->print(RS_Debug::D_ERROR, "QG_ArcOptions::setAction: wrong action type"); + DEBUG->print(Debug::D_ERROR, "QG_ArcOptions::setAction: wrong action type"); action = NULL; } }