Sayonara Player
Public Member Functions | List of all members
DateSearchModel Class Reference

Public Member Functions

 DateSearchModel (QObject *parent=nullptr)
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 
void set_data (const Library::DateFilter filter, int idx)
 
void add_data (const Library::DateFilter filter)
 
void remove (int idx)
 
QModelIndex getFirstRowIndexOf (const QString &substr) override
 
QModelIndex getNextRowIndexOf (const QString &substr, int cur_row, const QModelIndex &parent=QModelIndex()) override
 
QModelIndex getPrevRowIndexOf (const QString &substr, int cur_row, const QModelIndex &parent=QModelIndex()) override
 
QMap< QChar, QString > getExtraTriggers () override
 
Library::DateFilter get_filter (int row) const
 
virtual void set_search_mode (Library::SearchModeMask search_mode)
 
virtual Library::SearchModeMask search_mode () const final
 
Inheritance diagram for DateSearchModel:
SearchModelInterface< AbstractModel > SearchModelFunctionality