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

Method index

core/objectenummodel.cpp:87–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87QModelIndex GammaRay::ObjectEnumModel::index(int row, int column, const QModelIndex &parent) const
88{
89 if (!parent.isValid())
90 return SuperClass::index(row, column, parent);
91 return createIndex(row, column, parent.row());
92}
93
94QModelIndex GammaRay::ObjectEnumModel::parent(const QModelIndex &child) const
95{

Callers

nothing calls this directly

Calls 2

rowMethod · 0.80
isValidMethod · 0.45

Tested by

no test coverage detected