4
#include <QAbstractListModel>
8
class ThemesModel : public QAbstractListModel
12
explicit ThemesModel(QStringList themes, QObject *parent = 0);
14
int rowCount(const QModelIndex &parent = QModelIndex()) const;
15
QVariant data(const QModelIndex &index, int role) const;
16
bool setData(const QModelIndex &index, const QVariant &value,
17
int role = Qt::EditRole);
25
QList<QHash<int, QVariant> > m_data;
28
#endif // THEMESMODEL_H