Qmmp
|
#include <playlistitem.h>
Public Member Functions | |
PlayListItem () | |
virtual | ~PlayListItem () |
void | setSelected (bool select) |
bool | isSelected () const |
virtual const QString | formattedTitle ()=0 |
virtual const QString | formattedLength ()=0 |
virtual bool | isGroup () const =0 |
The PlayListItem class provides an item for use with the PlayListModel class.
PlayListItem | ( | ) |
Constructs an empty plalist item.
virtual ~PlayListItem | ( | ) | [virtual] |
Object destructor.
virtual const QString formattedLength | ( | ) | [pure virtual] |
Returns formatted length of the item.
Implemented in PlayListTrack.
virtual const QString formattedTitle | ( | ) | [pure virtual] |
Returns formatted title of the item.
Implemented in PlayListTrack.
bool isSelected | ( | ) | const |
Return true if item is selected, otherwise returns false.
void setSelected | ( | bool | select | ) |
Sets item selection flag to select
select | State of selection (true select, false unselect) |