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

Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | Friends

MPDSong Class Reference

List of all members.

Public Types

enum  Type {
  ERROR, SONG, STREAM, PLAYLIST,
  PLAYLISTSONG, PLAYLISTSTREAM, UNKNOWN
}

Public Member Functions

QString album () const
QString artist () const
QString comment () const
QString composer () const
bool contains (const QRegExp &) const
QString date () const
QString directory () const
QString disc () const
QString filename () const
QString genre () const
int id () const
bool isNull () const
 MPDSong (mpd_InfoEntity *)
 MPDSong (const MPDSong &)
bool operator!= (const MPDSong &other) const
bool operator< (const MPDSong &other) const
MPDSongoperator= (const MPDSong &)
bool operator== (const MPDSong &other) const
QString performer () const
int pos () const
int secs () const
void setAlbum (const QString &)
void setArtist (const QString &)
void setTitle (const QString &)
void setTrack (const QString &)
QString time () const
QString title () const
QString track () const
Type type () const
QString url () const

Static Public Member Functions

static MPDSong createStream (const QString &title, const QString &url)
static MPDSong createTest (const QString &url)

Private Attributes

QSharedDataPointer
< MPDSongPrivate
d

Friends

QDataStream & operator<< (QDataStream &, const MPDSong &)
QDataStream & operator>> (QDataStream &, MPDSong &)

Detailed Description

Definition at line 29 of file mpdsong.h.


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

Generated by  Doxygen 1.6.0   Back to index