![]() |
Sayonara Player
|
#include <DirectoryModel.h>
The SearchableFileTreeModel class.
Public Types | |
| using | ExtraTriggerMap = QMap< QChar, QString > |
Public Member Functions | |
| DirectoryModel (QObject *parent=nullptr) | |
| void | search_only_dirs (bool b) |
| virtual QModelIndex | getFirstRowIndexOf (const QString &substr) override |
| virtual QModelIndex | getNextRowIndexOf (const QString &substr, int cur_row, const QModelIndex &parent=QModelIndex()) override |
| virtual QModelIndex | getPrevRowIndexOf (const QString &substr, int cur_row, const QModelIndex &parent=QModelIndex()) override |
| virtual int | getNumberResults (const QString &str) override |
| Qt::ItemFlags | flags (const QModelIndex &index) const override |
| LibraryId | library_id (const QModelIndex &index) const |
| QString | filepath_origin (const QModelIndex &index) const |
| bool | is_root (const QModelIndex &index) const |
| virtual bool | has_items () const override |
| virtual ExtraTriggerMap | getExtraTriggers () |
| virtual ::Library::SearchModeMask | search_mode () const final |
1.8.14