25 lines
503 B
C++
25 lines
503 B
C++
#include "NotificationModel.h"
|
|
#include "NotificationService.h"
|
|
|
|
NotificationModel::NotificationModel()
|
|
{
|
|
|
|
}
|
|
|
|
int NotificationModel::rowCount(const QModelIndex &parent) const
|
|
{
|
|
return m_notifications->count();
|
|
}
|
|
|
|
int NotificationModel::columnCount(const QModelIndex &) const
|
|
{
|
|
return static_cast<int>(Col::Count);
|
|
}
|
|
|
|
QVariant NotificationModel::data(const QModelIndex &index, int role) const
|
|
{
|
|
}
|
|
|
|
QVariant NotificationModel::headerData(int section, Qt::Orientation orientation, int role) const
|
|
{
|
|
}
|