Logo Search packages:      
Sourcecode: qmpdclient version File versions  Download package

Public Member Functions | Protected Attributes | Private Attributes

DirectoryModel Class Reference

Inheritance diagram for DirectoryModel:
Inheritance graph
Collaboration diagram for DirectoryModel:
Collaboration graph

List of all members.

Public Member Functions

int columnCount (const QModelIndex &=QModelIndex()) const
QModelIndex createIndex (int, int, const MPDDirectory &) const
QVariant data (const QModelIndex &, int) const
QList< MPDDirectorydirectories (const QModelIndexList &) const
MPDDirectory directory (const QModelIndex &) const
 DirectoryModel (QObject *)
Qt::ItemFlags flags (const QModelIndex &) const
bool hasChildren (const QModelIndex &=QModelIndex()) const
QVariant headerData (int, Qt::Orientation, int=Qt::DisplayRole) const
QModelIndex index (int, int, const QModelIndex &=QModelIndex()) const
bool isDragDisabled () const
QMimeData * mimeData (const QModelIndexList &) const
QStringList mimeTypes () const
QModelIndex parent (const QModelIndex &) const
int rowCount (const QModelIndex &=QModelIndex()) const
void setDragDisabled (bool)
void setRoot (const MPDDirectory &)

Protected Attributes

bool m_dragDisabled

Private Attributes

MPDDirectory m_root
QString m_search

Detailed Description

Definition at line 27 of file directorymodel.h.

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

Generated by  Doxygen 1.6.0   Back to index