defuze.me  Client
Public Types | Public Member Functions | Protected Member Functions
Library::LibraryModel Class Reference
Inheritance diagram for Library::LibraryModel:
Inheritance graph
[legend]
Collaboration diagram for Library::LibraryModel:
Collaboration graph
[legend]

List of all members.

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)
LibraryPlugingetLibrary () 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 ()

Detailed Description

Definition at line 12 of file librarymodel.hpp.


The documentation for this class was generated from the following files: