1 #ifndef MATCHDAYMODEL_H
2 #define MATCHDAYMODEL_H
4 #include <QAbstractTableModel>
5 #include <QFontMetrics>
8 #include "matchdaybackend.h"
10 class MatchDayModel : public QAbstractTableModel
30 MatchDayBackend* m_backend;
36 explicit MatchDayModel(QObject *parent, MatchDayBackend* backend);
38 int rowCount(const QModelIndex& index) const;
39 int columnCount(const QModelIndex& index) const;
40 QVariant data(const QModelIndex& index, int role) const;
43 void onUpdateFinished(void);
47 #endif // MATCHDAYMODEL_H