MCPcopy Create free account
hub / github.com/KDAB/GammaRay / parent

Method parent

core/paintbuffermodel.cpp:442–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442QModelIndex PaintBufferModel::parent(const QModelIndex &child) const
443{
444 if (!child.isValid() || child.internalId() == TopLevelId)
445 return {};
446 return createIndex(child.internalId(), 0, TopLevelId);
447}
448
449QPainterPath PaintBufferModel::clipPath(int row) const
450{

Callers 1

dataMethod · 0.45

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected