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