Sayonara Player
Loading...
Searching...
No Matches
Directory::Model Class Reference

The SearchableFileTreeModel class. More...

#include <DirectoryModel.h>

Inheritance diagram for Directory::Model:

Signals

void sigBusy (bool b)

Public Member Functions

 Model (Library::InfoAccessor *libraryInfoAccessor, QObject *parent=nullptr)
QModelIndex setDataSource (LibraryId libraryId)
QModelIndex setDataSource (const QString &path)
LibraryId libraryDataSource () const
QString filePath (const QModelIndex &index) const
QModelIndex indexOfPath (const QString &path) const
void setFilter (const QString &filter)
int columnCount (const QModelIndex &parent) const override
QMimeData * mimeData (const QModelIndexList &indexes) const override

Protected Member Functions

bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const override

Detailed Description

The SearchableFileTreeModel class.