X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fforms%2Fdlgmoverotate.cpp;h=298eceb312f5ae10ed133bebb07ab03fe03b892d;hb=e1d1cacbb43055988d0d9db632fdf05c0bea9543;hp=a06454421e5dc7f1a71f8520729e0c176110320f;hpb=05a1d5fa057f4f45bc1f9903f1bdc0be2f10e3bf;p=architektonas diff --git a/src/forms/dlgmoverotate.cpp b/src/forms/dlgmoverotate.cpp index a064544..298eceb 100644 --- a/src/forms/dlgmoverotate.cpp +++ b/src/forms/dlgmoverotate.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,7 @@ #include "dlgmoverotate.h" -#include "rs_modification.h" +#include "modification.h" #include "settings.h" DlgMoveRotate::DlgMoveRotate(QWidget * parent/*= NULL*/, Qt::WindowFlags flags/*= 0*/): @@ -73,10 +75,10 @@ DlgMoveRotate::~DlgMoveRotate() settings.endGroup(); } -void DlgMoveRotate::setData(RS_MoveRotateData * d) +void DlgMoveRotate::setData(MoveRotateData * d) { data = d; - ui.leAngle->setText(QString("%1").arg(RS_Math::rad2deg(data->angle))); + ui.leAngle->setText(QString("%1").arg(Math::rad2deg(data->angle))); } void DlgMoveRotate::updateData() @@ -88,7 +90,7 @@ void DlgMoveRotate::updateData() else data->number = ui.leNumber->text().toInt(); - data->angle = RS_Math::deg2rad(RS_Math::eval(ui.leAngle->text())); + data->angle = Math::deg2rad(Math::eval(ui.leAngle->text())); data->useCurrentAttributes = ui.cbCurrentAttributes->isChecked(); data->useCurrentLayer = ui.cbCurrentLayer->isChecked(); }