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

Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes

PlaylistModel Class Reference

Inheritance diagram for PlaylistModel:
Inheritance graph
[legend]
Collaboration diagram for PlaylistModel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void advanceQueue ()
int columnCount (const QModelIndex &=QModelIndex()) const
QVariant data (const QModelIndex &, int) const
bool dropMimeData (const QMimeData *, Qt::DropAction, int, int, const QModelIndex &)
Qt::ItemFlags flags (const QModelIndex &) const
QVariant headerData (int, Qt::Orientation, int=Qt::DisplayRole) const
QModelIndex indexOfSong (const MPDSong &) const
bool isDragDisabled () const
MPDSong lastSong () const
QMimeData * mimeData (const QModelIndexList &) const
QStringList mimeTypes () const
QString pattern () const
MPDSong playingSong () const
 PlaylistModel (QObject *)
QList< MPDSongqueue () const
int rowCount (const QModelIndex &=QModelIndex()) const
void setDragDisabled (bool)
void setFilter (const QString &)
void setPattern (const QString &)
void setPlaying (const MPDSong &)
void setSongs (const MPDSongList &)
void setTopDrop (bool)
MPDSongList songs (const QModelIndexList &) const
MPDSongList songs (const QModelIndex &) const
MPDSongList songs () const
void sort (int column, Qt::SortOrder order=Qt::AscendingOrder)
void toggleQueue (const QModelIndexList &s)
MPDSongList unSelectedSongs (const QModelIndexList &) const

Protected Attributes

MPDSongList m_all
bool m_dragDisabled
QRegExp m_filter
HeaderViewm_header
MPDSongList m_visible

Private Member Functions

MPDSongList decodeSongs (const QMimeData *, QString) const
void filter ()
MPDSong song (const QModelIndex &) const

Private Attributes

QString m_pattern
MPDSong m_playingSong
QList< MPDSongm_queue
bool m_topDrop

Detailed Description

Definition at line 27 of file playlistmodel.h.


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

Generated by  Doxygen 1.6.0   Back to index