MCPcopy Create free account
hub / github.com/KDE/kate / rowCount

Method rowCount

addons/gdbplugin/stackframe_model.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21int StackFrameModel::rowCount(const QModelIndex &parent) const
22{
23 if (parent.isValid()) {
24 return 0;
25 }
26 return m_frames.size();
27}
28
29QVariant StackFrameModel::data(const QModelIndex &index, int role) const
30{

Callers 2

stringifyModelFunction · 0.45

Calls 2

sizeMethod · 0.80
isValidMethod · 0.45

Tested by 1

stringifyModelFunction · 0.36