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