20 #ifndef SEARCHABLEFILETREEMODEL_H 21 #define SEARCHABLEFILETREEMODEL_H 23 #include "Gui/Utils/SearchableWidget/SearchableModel.h" 24 #include "Utils/Pimpl.h" 27 #include <QFileSystemModel> 44 void search_only_dirs(
bool b);
47 QModelIndexList search_results(
const QString& substr)
override;
48 Qt::ItemFlags flags(
const QModelIndex &index)
const override;
50 LibraryId library_id(
const QModelIndex& index)
const;
51 QString filepath_origin(
const QModelIndex& index)
const;
53 bool is_root(
const QModelIndex& index)
const;
56 void create_file_list(
const QString& substr);
60 #endif // SEARCHABLEFileTreeView_H Definition: SearchableModel.h:52
The SearchableFileTreeModel class.
Definition: DirectoryModel.h:34