Logo Search packages:      
Sourcecode: qmmp version File versions

PlayListItem Class Reference

#include <playlistitem.h>

Inheritance diagram for PlayListItem:

SongInfo

List of all members.


Detailed Description

Author:
Ilya Kotov <forkotov02@hotmail.ru>

Definition at line 29 of file playlistitem.h.


Public Types

enum  FLAGS { FREE = 0, EDITING, SCHEDULED_FOR_DELETION }
enum  Type {
  TITLE = 0, ARTIST, ALBUM, COMMENT,
  GENRE, YEAR, TRACK, LENGTH,
  STREAM, PATH
}

Public Member Functions

const QString album () const
const QString artist () const
void clear ()
const QString comment () const
const QString fileName () const
FLAGS flag () const
const QString genre () const
bool isCurrent () const
const bool isEmpty () const
bool isSelected () const
const bool isStream () const
const uint length () const
bool operator!= (const SongInfo &info)
bool operator== (const SongInfo &info)
const QString path () const
 PlayListItem (const QString &path)
void setCurrent (bool yes)
void setFlag (FLAGS)
void setSelected (bool yes)
void setText (const QString &title)
void setValue (uint key, const bool &value)
void setValue (uint key, const uint &value)
void setValue (uint key, const QString &value)
const QString text () const
const QString title () const
const uint track () const
void updateTags ()
void updateTags (const FileTag *tag)
const uint year () const

Private Member Functions

QString printTag (QString str, QString regExp, QString tagStr)
void readMetadata ()

Private Attributes

bool m_convertTwenty
bool m_convertUnderscore
bool m_current
FLAGS m_flag
QString m_format
bool m_fullStreamPath
bool m_selected
FileTagm_tag
QString m_title
bool m_use_meta

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

Generated by  Doxygen 1.6.0   Back to index