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

Method rowCount

src/backend/worksheet/TreeModel.cpp:256–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256int TreeModel::rowCount(const QModelIndex& parent) const {
257 const auto* parentItem = getItem(parent);
258 return parentItem->childCount();
259}
260
261bool TreeModel::setTreeData(const QVariant& data, const int row, const int column, const QModelIndex& parent, int role) {
262 QModelIndex curveIndex = index(row, column, parent);

Callers 15

cursorPosChangedMethod · 0.45
curveDataChangedMethod · 0.45
curveAddedMethod · 0.45
curveRemovedMethod · 0.45
updateCurveBackgroundMethod · 0.45
mouseMoveEventMethod · 0.45
keyPressEventMethod · 0.45
xIndexCountMethod · 0.45
updateControlLimitsMethod · 0.45
copyValidDataMethod · 0.45

Calls 1

childCountMethod · 0.45

Tested by

no test coverage detected