MCPcopy Create free account
hub / github.com/davidar/tensor / rowCount

Method rowCount

client/models/roomlistmodel.cpp:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63int RoomListModel::rowCount(const QModelIndex& parent) const
64{
65 if( parent.isValid() )
66 return 0;
67 return m_rooms.count();
68}
69
70QVariant RoomListModel::data(const QModelIndex& index, int role) const
71{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected