QTfrontend/model/ThemeModel.h
changeset 11757 6874644a2d00
parent 11754 2e4f0d0fec99
child 13247 4df9d8cedf7f
--- a/QTfrontend/model/ThemeModel.h	Thu Apr 28 17:42:43 2016 +0200
+++ b/QTfrontend/model/ThemeModel.h	Thu Apr 28 18:32:50 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;
 };