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

Method rowCount

core/tools/messagehandler/messagemodel.cpp:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46int MessageModel::rowCount(const QModelIndex &parent) const
47{
48 if (parent.isValid())
49 return 0;
50
51 return m_messages.size();
52}
53
54QVariant MessageModel::data(const QModelIndex &index, int role) const
55{

Callers 2

messageSelectedMethod · 0.45
newRequestMethod · 0.45

Calls 2

isValidMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected