#include <playlistitem.h>
The PlayListItem class provides an item for use with the PlayListModel class.
- Author
- Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru
◆ PlayListItem()
Constructs an empty plalist item.
◆ ~PlayListItem()
◆ formattedLength()
virtual QString formattedLength |
( |
| ) |
|
|
pure virtual |
◆ formattedTitle()
virtual QString formattedTitle |
( |
int | column | ) |
|
|
pure virtual |
◆ formattedTitles()
virtual QStringList formattedTitles |
( |
| ) |
|
|
pure virtual |
Returns the list of the formatted titles for all columns. Group separators contain only one title.
Implemented in PlayListGroup, and PlayListTrack.
◆ isGroup()
virtual bool isGroup |
( |
| ) |
const |
|
pure virtual |
◆ isSelected()
bool isSelected |
( |
| ) |
const |
Return true if item is selected, otherwise returns false.
◆ setSelected()
void setSelected |
( |
bool | select | ) |
|
Sets item selection flag to select
- Parameters
-
select | State of selection (true select, false unselect) |
◆ trackIndex()
virtual int trackIndex |
( |
| ) |
const |
|
virtual |
Returns the index of the track. Default implementation returns -1.
Reimplemented in PlayListTrack.
The documentation for this class was generated from the following file: