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

Method rowCount

plugins/quickinspector/quickoverlaylegend.cpp:109–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 }
108
109 int rowCount(const QModelIndex &parent = QModelIndex()) const override
110 {
111 return parent.isValid() ? 0 : m_items.size();
112 }
113
114 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override
115 {

Callers 1

setOverlaySettingsMethod · 0.45

Calls 3

QModelIndexClass · 0.50
isValidMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected