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

Method index

ui/attachprocess.cpp:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65
66QModelIndex ProcessListModel::index(int row, int column, const QModelIndex&) const
67{
68 if (row < 0 || (size_t)row >= m_items.size() || column >= columnCount())
69 {
70 return QModelIndex();
71 }
72
73 return createIndex(row, column, (void*)&m_items[row]);
74}
75
76
77QVariant ProcessListModel::data(const QModelIndex& index, int role) const

Callers 1

filterAcceptsRowMethod · 0.45

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected