QTfrontend/model/ThemeModel.h
changeset 11753 5c192a4751d8
parent 11046 47a8c19ecb60
child 11754 2e4f0d0fec99
--- a/QTfrontend/model/ThemeModel.h	Thu Apr 28 00:41:09 2016 +0200
+++ b/QTfrontend/model/ThemeModel.h	Thu Apr 28 02:06:35 2016 +0200
@@ -25,6 +25,7 @@
 #define HEDGEWARS_THEMEMODEL_H
 
 #include <QAbstractListModel>
+#include <QSortFilterProxyModel>
 #include <QStringList>
 #include <QMap>
 #include <QIcon>
@@ -44,10 +45,12 @@
 
         int rowCount(const QModelIndex &parent = QModelIndex()) const;
         QVariant data(const QModelIndex &index, int role) const;
+        QSortFilterProxyModel * withoutDLC();
 
     private:
         mutable QList<QMap<int, QVariant> > m_data;
         mutable bool m_themesLoaded;
+        mutable QSortFilterProxyModel * m_filteredNoDLC;
 
         void loadThemes() const;
 };