mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
TagFilter -> MultiFilter
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
19ac1dfa09
commit
c68a94da6a
4 changed files with 13 additions and 13 deletions
|
@ -443,17 +443,17 @@ private:
|
|||
explicit TagFilterModel(QObject *parent = 0);
|
||||
};
|
||||
|
||||
class TagFilterSortModel : public QSortFilterProxyModel {
|
||||
class MultiFilterSortModel : public QSortFilterProxyModel {
|
||||
Q_OBJECT
|
||||
public:
|
||||
static TagFilterSortModel *instance();
|
||||
static MultiFilterSortModel *instance();
|
||||
virtual bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const;
|
||||
void addFilterModel(MultiFilterInterface *model);
|
||||
void removeFilterModel(MultiFilterInterface *model);
|
||||
public slots:
|
||||
void myInvalidate();
|
||||
private:
|
||||
TagFilterSortModel(QObject *parent = 0);
|
||||
MultiFilterSortModel(QObject *parent = 0);
|
||||
QList<MultiFilterInterface*> models;
|
||||
};
|
||||
#endif // MODELS_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue