QTfrontend/model/ThemeFilterProxyModel.h
changeset 13248 b0022324fb4e
parent 13247 4df9d8cedf7f
child 14828 8ed0c3761640
equal deleted inserted replaced
13247:4df9d8cedf7f 13248:b0022324fb4e
    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