MCPcopy Create free account
hub / github.com/KDAB/KDChart / compare

Method compare

src/KDChart/Cartesian/KDChartCartesianAxis.cpp:396–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396bool CartesianAxis::compare(const CartesianAxis *other) const
397{
398 if (other == this) {
399 return true;
400 }
401 if (!other) {
402 return false;
403 }
404 return AbstractAxis::compare(other) && (position() == other->position()) && (titleText() == other->titleText()) && (titleTextAttributes() == other->titleTextAttributes());
405}
406
407void CartesianAxis::coordinateSystemChanged()
408{

Callers

nothing calls this directly

Calls 5

positionFunction · 0.85
titleTextFunction · 0.85
positionMethod · 0.45
titleTextMethod · 0.45
titleTextAttributesMethod · 0.45

Tested by

no test coverage detected