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

Method rowCount

kdevplatform/shell/problemmodel.cpp:99–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99int ProblemModel::rowCount(const QModelIndex& parent) const
100{
101 Q_D(const ProblemModel);
102
103 if (!parent.isValid()) {
104 return d->m_problems->count();
105 } else {
106 return d->m_problems->count(reinterpret_cast<ProblemStoreNode*>(parent.internalPointer()));
107 }
108}
109
110static QString displayUrl(const QUrl &url, const QUrl &base)
111{

Callers 5

filterTextChangedMethod · 0.45
updateStateMethod · 0.45
itemEnteredMethod · 0.45
eventFilterMethod · 0.45
findFileItemsFunction · 0.45

Calls 2

isValidMethod · 0.45
countMethod · 0.45

Tested by 1

findFileItemsFunction · 0.36