if (update)
{
st = action->getText();
- sa = QString("%1").arg(RS_Math::rad2deg(action->getAngle()));
+ sa = QString("%1").arg(Math::rad2deg(action->getAngle()));
}
else
{
}
else
{
- RS_DEBUG->print(RS_Debug::D_ERROR, "TextOptions::setAction: wrong action type");
+ DEBUG->print(Debug::D_ERROR, "TextOptions::setAction: wrong action type");
action = NULL;
}
}
void TextOptions::updateAngle()
{
if (action != NULL)
- action->setAngle(RS_Math::deg2rad(RS_Math::eval(ui.leAngle->text())));
+ action->setAngle(Math::deg2rad(Math::eval(ui.leAngle->text())));
}