QTfrontend/model/ThemeFilterProxyModel.h
changeset 14828 8ed0c3761640
parent 13248 b0022324fb4e
equal deleted inserted replaced
14827:266f973745b8 14828:8ed0c3761640
    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         void setFilterHidden(bool enabled);
       
    40         void setFilterBackground(bool enabled);
    40 
    41 
    41     protected:
    42     protected:
    42         bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
    43         bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
    43 
    44 
    44     private:
    45     private:
    45         bool isFilteringDLC;
    46         bool isFilteringDLC;
    46         bool isFilteringHidden;
    47         bool isFilteringHidden;
       
    48         bool isFilteringBackground;
    47 };
    49 };
    48 
    50 
    49 #endif // HEDGEWARS_THEMEFILTERPROXYMODEL_H
    51 #endif // HEDGEWARS_THEMEFILTERPROXYMODEL_H