MCPcopy Create free account
hub / github.com/Vector35/debugger / rowCount

Method rowCount

ui/threadframes.cpp:269–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267
268
269int ThreadFrameModel::rowCount(const QModelIndex& parent) const
270{
271 FrameItem* parentItem;
272 if (parent.column() > 0)
273 return 0;
274
275 if (!parent.isValid())
276 parentItem = rootItem;
277 else
278 parentItem = static_cast<FrameItem*>(parent.internalPointer());
279
280 return parentItem->childCount();
281}
282
283
284ThreadFramesItemDelegate::ThreadFramesItemDelegate(QWidget* parent, DebuggerController* controller) :

Callers 1

expandCurrentThreadMethod · 0.45

Calls 1

childCountMethod · 0.80

Tested by

no test coverage detected