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

Method index

kdevplatform/debugger/framestack/framestackmodel.cpp:271–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271QModelIndex FrameStackModel::index(int row, int column, const QModelIndex& parent) const
272{
273 Q_D(const FrameStackModel);
274
275 if (parent.isValid()) {
276 Q_ASSERT(!parent.internalId());
277 Q_ASSERT(parent.column() == 0);
278 Q_ASSERT(parent.row() < d->m_threads.count());
279 return createIndex(row, column, parent.row()+1);
280 } else {
281 return createIndex(row, column);
282 }
283}
284
285
286QVariant FrameStackModel::headerData(int section, Qt::Orientation orientation, int role) const

Callers 1

indexForThreadNumberMethod · 0.45

Calls 5

createIndexFunction · 0.85
isValidMethod · 0.45
columnMethod · 0.45
rowMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected