21 #ifndef QABSTRACTFILTERPROXYMODEL_H
22 #define QABSTRACTFILTERPROXYMODEL_H
24 #include <QSortFilterProxyModel>
26 #include <qaivlib_global.h>
29 class QAbstractFilterProxyModelPrivate;
51 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
60 virtual void setSourceModel(QAbstractItemModel* sourceModel);
66 void resultAboutToChange();
75 void resultCountChanged(
int filteredRows,
int unfilteredRows);
77 void emitResultCountChanged();
78 virtual bool filterAcceptsRow(
int source_row,
const QModelIndex & source_parent )
const = 0;
82 QAbstractFilterProxyModelPrivate* d;
85 #endif // QABSTRACTFILTERPROXYMODEL_H
The QAbstractFilterProxyModel provides an abstract base class for filter models.
Definition: qabstractfilterproxymodel.h:32
The QAbstractFilterModel class provides the abstract interface for filter model classes.
Definition: qabstractfiltermodel.h:41