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

Method aspectAdded

tests/backend/Retransform/RetransformTest.cpp:2183–2188  ·  view source on GitHub ↗

! * \brief RetransformCallCounter::aspectAdded * Connect RetransformCallCounter to the aspects signals to count the retransform calls * \param aspect */

Source from the content-addressed store, hash-verified

2181 * \param aspect
2182 */
2183void RetransformCallCounter::aspectAdded(const AbstractAspect* aspect) {
2184 connect(aspect, &AbstractAspect::retransformCalledSignal, this, &RetransformCallCounter::aspectRetransformed);
2185 auto* plot = dynamic_cast<const CartesianPlot*>(aspect);
2186 if (plot)
2187 connect(plot, &CartesianPlot::scaleRetransformed, this, &RetransformCallCounter::retransformScaleCalled);
2188}
2189
2190void RetransformTest::removeReaddxColum() {
2191 Project project;

Callers 3

xyFunctionCurveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected