restructured project to include packaging files
[buliscores] / src / matchdaymodel.h
diff --git a/src/matchdaymodel.h b/src/matchdaymodel.h
deleted file mode 100644 (file)
index e938a01..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#ifndef MATCHDAYMODEL_H
-#define MATCHDAYMODEL_H
-
-#include <QAbstractTableModel>
-#include <QFontMetrics>
-#include <QSettings>
-
-#include "matchdaybackend.h"
-
-class MatchDayModel : public QAbstractTableModel
-{
-    Q_OBJECT
-
-    enum {
-        Spacer = 0,
-        MatchState,
-        Spacer2,
-        HomeIcon,
-        HomeTeam,
-        HomeScore,
-        Seperator,
-        AwayScore,
-        AwayTeam,
-        AwayIcon,
-        Date
-    };
-
-private:
-    QString          m_url;
-    MatchDayBackend* m_backend;
-    int              m_lastRowCount;
-    QSettings        m_settings;
-
-
-public:
-    explicit MatchDayModel(QObject *parent, MatchDayBackend* backend);
-
-    int rowCount(const QModelIndex& index) const;
-    int columnCount(const QModelIndex& index) const;
-    QVariant data(const QModelIndex& index, int role) const;
-
-protected slots:
-    void onUpdateFinished(int);
-
-};
-
-#endif // MATCHDAYMODEL_H