pgLab/pglab/NotificationModel.cpp
eelke 7f09d5fe07 Made a start with the notification system. However need to figure out
how i want to handle multithreading and screen updates.
2019-08-14 06:54:50 +02:00

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
{
}