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

Method rowCount

ui/editabletypesmodel.cpp:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25EditableTypesModel::~EditableTypesModel() = default;
26
27int EditableTypesModel::rowCount(const QModelIndex &parent) const
28{
29 if (parent.isValid())
30 return 0;
31 return m_types.size();
32}
33
34QVariant EditableTypesModel::data(const QModelIndex &index, int role) const
35{

Callers

nothing calls this directly

Calls 2

isValidMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected