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

Method rowCount

kdevplatform/debugger/util/pathmappings.cpp:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75
76 int rowCount(const QModelIndex& parent = QModelIndex()) const override
77 {
78 if (parent.isValid()) return 0;
79 return m_paths.count() + 1;
80 }
81
82 QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override
83 {

Callers

nothing calls this directly

Calls 3

QModelIndexClass · 0.50
isValidMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected