MCPcopy Create free account
hub / github.com/KDE/labplot / setOrientation

Method setOrientation

src/backend/worksheet/plots/cartesian/ReferenceLine.cpp:183–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181/* ============================ setter methods and undo commands ================= */
182STD_SETTER_CMD_IMPL_F_S(ReferenceLine, SetOrientation, ReferenceLine::Orientation, orientation, updateOrientation)
183void 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 ########

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected