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

Method rowCount

gui/tocmodel.cpp:314–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314int TOCModel::rowCount(const QModelIndex &parent) const
315{
316 TOCItem *item = parent.isValid() ? static_cast<TOCItem *>(parent.internalPointer()) : d->root;
317 return item->children.count();
318}
319
320static QModelIndex indexForIndex(const QModelIndex &oldModelIndex, QAbstractItemModel *newModel)
321{

Callers 5

recentsCountMethod · 0.45
fillConfigDialogMethod · 0.45
getOCGsMethod · 0.45
checkequalityMethod · 0.45
urlOpenedMethod · 0.45

Calls 2

isValidMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected