Changeset View
Changeset View
Standalone View
Standalone View
kcms/keyboard/kcmui/advanced_filter_proxy_model.h
- This file was added.
1 | #ifndef ADVANCED_FILTER_PROXY_MODEL_H | ||||
---|---|---|---|---|---|
2 | #define ADVANCED_FILTER_PROXY_MODEL_H | ||||
3 | | ||||
4 | #include "abstract_advanced_model.h" | ||||
5 | #include <QSortFilterProxyModel> | ||||
6 | | ||||
7 | class AdvancedFilterProxyModel : public QSortFilterProxyModel, public AbstractAdvancedModel { | ||||
8 | Q_OBJECT | ||||
9 | public: | ||||
10 | explicit AdvancedFilterProxyModel(QObject* parent = nullptr); | ||||
11 | | ||||
12 | bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override; | ||||
13 | }; | ||||
14 | | ||||
15 | #endif // ADVANCED_FILTER_PROXY_MODEL_H |