| 139 | |
| 140 | STD_SETTER_CMD_IMPL_F_S(Value, SetDistance, double, distance, updateValue) |
| 141 | void Value::setDistance(double distance) { |
| 142 | Q_D(Value); |
| 143 | if (distance != d->distance) |
| 144 | exec(new ValueSetDistanceCmd(d, distance, ki18n("%1: set values distance"))); |
| 145 | } |
| 146 | |
| 147 | STD_SETTER_CMD_IMPL_F_S(Value, SetRotationAngle, double, rotationAngle, updateValue) |
| 148 | void Value::setRotationAngle(double angle) { |