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

Method rowCount

src/backend/core/AspectTreeModel.cpp:144–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144int AspectTreeModel::rowCount(const QModelIndex& parent) const {
145 if (!parent.isValid())
146 return 1;
147
148 auto* parent_aspect = static_cast<AbstractAspect*>(parent.internalPointer());
149 return parent_aspect->childCount<AbstractAspect>();
150}
151
152int AspectTreeModel::columnCount(const QModelIndex& /*parent*/) const {
153 return 4;

Callers 2

setFilterStringMethod · 0.95
dataMethod · 0.45

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected