Changeset View
Changeset View
Standalone View
Standalone View
applets/kicker/plugin/recentusagemodel.h
Show All 24 Lines | |||||
25 | #include <QQmlParserStatus> | 25 | #include <QQmlParserStatus> | ||
26 | #include <QSortFilterProxyModel> | 26 | #include <QSortFilterProxyModel> | ||
27 | 27 | | |||
28 | class GroupSortProxy : public QSortFilterProxyModel | 28 | class GroupSortProxy : public QSortFilterProxyModel | ||
29 | { | 29 | { | ||
30 | Q_OBJECT | 30 | Q_OBJECT | ||
31 | 31 | | |||
32 | public: | 32 | public: | ||
33 | explicit GroupSortProxy(QAbstractItemModel *sourceModel); | 33 | explicit GroupSortProxy(AbstractModel *parentModel, QAbstractItemModel *sourceModel); | ||
34 | ~GroupSortProxy(); | 34 | ~GroupSortProxy(); | ||
35 | 35 | | |||
36 | protected: | 36 | protected: | ||
37 | bool lessThan(const QModelIndex &left, const QModelIndex &right) const Q_DECL_OVERRIDE; | 37 | bool lessThan(const QModelIndex &left, const QModelIndex &right) const Q_DECL_OVERRIDE; | ||
38 | }; | 38 | }; | ||
39 | 39 | | |||
40 | class InvalidAppsFilterProxy : public QSortFilterProxyModel | 40 | class InvalidAppsFilterProxy : public QSortFilterProxyModel | ||
41 | { | 41 | { | ||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |