#include <playlistitem.h>
List of all members.
Detailed Description
The PlayListItem class provides an item for use with the PlayListModel class.
- Author:
- Ilya Kotov <forkotov02@hotmail.ru>
Member Enumeration Documentation
Current state of playlist item. FREE - instance is free and may be deleted EDITING - instance is currently busy in some kind of operation(tags editing etc.) and can't be deleted at the moment. Set flag SCHEDULED_FOR_DELETION for it instead of delete operator call.
- Enumerator:
FREE |
instance is free and may be deleted
|
EDITING |
instance is currently busy
|
SCHEDULED_FOR_DELETION |
instance is sheduled for deletion
|
Constructor & Destructor Documentation
Constructs an empty plalist item.
Constructs a new PlayListItem that is a copy of the given item
Constructs plalist item with given metadata.
- Parameters:
-
info | Media file information. |
Member Function Documentation
Returns current state of the playlist item.
Returns true if the item is the current item; otherwise returns returns false.
Return true if item is selected, otherwise returns false.
Returns song length in seconds.
Sets state of the playlist item.
Sets item selection flag to select
- Parameters:
-
select | State of selection (true select, false unselect) |
void setText |
( |
const QString & |
title | ) |
|
Direct access to the item short title.
- Parameters:
-
Returns item short title.
Updates current metadata.
- Parameters:
-
metaData | Map with metadata values. |
Gets new metadata from file (works for local files only).
const QString url |
( |
| ) |
const |
The documentation for this class was generated from the following file: