equal
deleted
inserted
replaced
34 Q_OBJECT |
34 Q_OBJECT |
35 |
35 |
36 public: |
36 public: |
37 ThemeFilterProxyModel(QObject *parent = 0); |
37 ThemeFilterProxyModel(QObject *parent = 0); |
38 void setFilterDLC(bool enabled); |
38 void setFilterDLC(bool enabled); |
|
39 void setFilterHidden(bool enabled); |
39 |
40 |
40 protected: |
41 protected: |
41 bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const; |
42 bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const; |
42 |
43 |
43 private: |
44 private: |
44 bool isFilteringDLC; |
45 bool isFilteringDLC; |
|
46 bool isFilteringHidden; |
45 }; |
47 }; |
46 |
48 |
47 #endif // HEDGEWARS_THEMEFILTERPROXYMODEL_H |
49 #endif // HEDGEWARS_THEMEFILTERPROXYMODEL_H |