equal
deleted
inserted
replaced
37 class ThemeModel : public QAbstractListModel |
37 class ThemeModel : public QAbstractListModel |
38 { |
38 { |
39 Q_OBJECT |
39 Q_OBJECT |
40 |
40 |
41 public: |
41 public: |
|
42 enum Roles { ActualNameRole = Qt::UserRole, IsDlcRole, IconPathRole }; |
42 explicit ThemeModel(QObject *parent = 0); |
43 explicit ThemeModel(QObject *parent = 0); |
43 |
44 |
44 int rowCount(const QModelIndex &parent = QModelIndex()) const; |
45 int rowCount(const QModelIndex &parent = QModelIndex()) const; |
45 QVariant data(const QModelIndex &index, int role) const; |
46 QVariant data(const QModelIndex &index, int role) const; |
46 |
47 |