diff options
Diffstat (limited to 'src/model.h')
-rw-r--r-- | src/model.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/model.h b/src/model.h deleted file mode 100644 index a03f015..0000000 --- a/src/model.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef MODEL_H -#define MODEL_H - -#include <QAbstractListModel> -#include <QFileIconProvider> -#include <QList> -#include "session.h" - -class Model : public QAbstractListModel -{ - Q_OBJECT - -public: - Model(QList<Session*>, QObject *parent = 0); - ~Model(); - - int rowCount(const QModelIndex &parent) const; - - QVariant data(const QModelIndex &index, int role) const; - -private: - - int rowCount_; - QList<Session*> entries_; - QFileIconProvider iconProvider; //TODO -}; - -#endif // MODEL_H |