// 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 "dlgscale.h"
-#include "rs_modification.h"
+#include "modification.h"
#include "settings.h"
DlgScale::DlgScale(QWidget * parent/*= NULL*/, Qt::WindowFlags flags/*= 0*/):
settings.endGroup();
}
-void DlgScale::setData(RS_ScaleData * d)
+void DlgScale::setData(ScaleData * d)
{
data = d;
}
else
data->number = ui.leNumber->text().toInt();
- data->factor = RS_Math::eval(ui.leFactor->text());
+ data->factor = Math::eval(ui.leFactor->text());
data->useCurrentAttributes = ui.cbCurrentAttributes->isChecked();
data->useCurrentLayer = ui.cbCurrentLayer->isChecked();
}