| 24 | } |
| 25 | |
| 26 | EntityPtr NotificationModelPrivate::getEntityByRow(int row) |
| 27 | { |
| 28 | Q_ASSERT(row <= q->rowCount(QModelIndex()) - 1); |
| 29 | return notifications[row]; |
| 30 | } |
| 31 | |
| 32 | NotificationModel::NotificationModel(QObject *parent, NotificationListView *view) |
| 33 | : QAbstractListModel(parent), |
no test coverage detected