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

Public Member Functions

 FileListModel (QObject *parent=nullptr)
 
void set_parent_directory (const QString &dir)
 
QStringList get_files () const
 
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
 
QVariant data (const QModelIndex &index, int role) const override
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
QMimeData * mimeData (const QModelIndexList &indexes) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
virtual void set_search_mode (Library::SearchModeMask search_mode)
 
virtual Library::SearchModeMask search_mode () const final
 
Inheritance diagram for FileListModel:
SearchModelInterface< AbstractModel > SearchModelFunctionality