SearchResultFilterProxyModel Class Reference

Public Member Functions

 SearchResultFilterProxyModel (QObject *parent)
 
virtual bool filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override
 
virtual bool lessThan (const QModelIndex &left, const QModelIndex &right) const override
 
virtual QVariant data (const QModelIndex &idx, int role) const override
 

Constructor & Destructor Documentation

◆ SearchResultFilterProxyModel()

SearchResultFilterProxyModel::SearchResultFilterProxyModel ( QObject *  parent)

Member Function Documentation

◆ filterAcceptsRow()

virtual bool SearchResultFilterProxyModel::filterAcceptsRow ( int  source_row,
const QModelIndex &  source_parent 
) const
overridevirtual

◆ lessThan()

virtual bool SearchResultFilterProxyModel::lessThan ( const QModelIndex &  left,
const QModelIndex &  right 
) const
overridevirtual

◆ data()

virtual QVariant SearchResultFilterProxyModel::data ( const QModelIndex &  idx,
int  role 
) const
overridevirtual