defuze.me
Client
|
Public Types | |
enum | SortKeys { INVALID, ALBUM, ARTIST, ALBUM_ARTIST, GENRE, TITLE, TRACK } |
enum | SortKeysInfoData { TEXT = 0, FIELD = 1, ORDER_BY = 2, DEFAULT = 3 } |
Public Member Functions | |
LibraryModel (LibraryPlugin *library) | |
LibraryPlugin * | getLibrary () const |
int | getIdByIndex (const QModelIndex &index) const |
SortKeys | getKindByIndex (const QModelIndex &index) const |
void | update (int sort=-1, QString search=QString()) |
QStringList | mimeTypes () const |
QMimeData * | mimeData (const QModelIndexList &indexes) const |
Qt::ItemFlags | flags (const QModelIndex &index) const |
QVariant | data (const QModelIndex &index, int role) const |
Protected Member Functions | |
void | setupModelData () |
Definition at line 12 of file librarymodel.hpp.