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

Method rowCount

plugins/timertop/timermodel.cpp:462–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

460}
461
462int TimerModel::rowCount(const QModelIndex &parent) const
463{
464 Q_UNUSED(parent);
465 if (!m_sourceModel || parent.isValid())
466 return 0;
467 return m_sourceModel->rowCount() + m_freeTimersInfo.size();
468}
469
470QVariant TimerModel::data(const QModelIndex &index, int role) const
471{

Callers 5

findTimerInfoMethod · 0.45
indexMethod · 0.45
dataMethod · 0.45
clearHistoryMethod · 0.45
applyChangesMethod · 0.45

Calls 2

isValidMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected