| 181 | /* ============================ setter methods and undo commands ================= */ |
| 182 | STD_SETTER_CMD_IMPL_F_S(ReferenceLine, SetOrientation, ReferenceLine::Orientation, orientation, updateOrientation) |
| 183 | void ReferenceLine::setOrientation(Orientation orientation) { |
| 184 | Q_D(ReferenceLine); |
| 185 | if (orientation != d->orientation) |
| 186 | exec(new ReferenceLineSetOrientationCmd(d, orientation, ki18n("%1: set orientation"))); |
| 187 | } |
| 188 | |
| 189 | // ############################################################################## |
| 190 | // ###### SLOTs for changes triggered via QActions in the context menu ######## |
no outgoing calls
no test coverage detected