The Playlist class.
More...
#include <Playlist.h>
|
void | metadataDeleted () |
|
void | metadataChanged () |
|
void | currentMetadataChanged () |
|
void | durationChanged () |
|
|
void | sigItemsChanged (int idx) |
|
void | sigCurrentTrackChanged (int idx) |
|
void | sigStopped () |
|
void | sigFindTrack (TrackID trackId) |
|
void | sigBusyChanged (bool b) |
|
void | sigCurrentScannedFileChanged (const QString ¤tFile) |
|
|
| Playlist (int idx, const QString &name) |
|
int | createPlaylist (const MetaDataList &tracks) |
|
int | currentTrackIndex () const |
|
bool | currentTrack (MetaData &metadata) const |
|
int | index () const |
|
void | setIndex (int idx) |
|
Mode | mode () const |
|
void | setMode (const Mode &mode) |
|
MilliSeconds | runningTime () const |
|
int | count () const override |
|
void | enableAll () |
|
void | play () |
|
void | stop () |
|
void | fwd () |
|
void | bwd () |
|
void | next () |
|
bool | wakeUp () |
|
void | setBusy (bool b) |
|
bool | isBusy () const |
|
void | setCurrentScannedFile (const QString &file) |
|
void | reverse () |
|
const MetaData & | track (int idx) const override |
|
const MetaDataList & | tracks () const override |
|
void | insertTracks (const MetaDataList &lst, int tgt) |
|
void | appendTracks (const MetaDataList &lst) |
|
void | removeTracks (const IndexSet &indexes) |
|
void | replaceTrack (int idx, const MetaData &track) |
|
void | clear () |
|
IndexSet | moveTracks (const IndexSet &indexes, int tgt) |
|
IndexSet | copyTracks (const IndexSet &indexes, int tgt) |
|
void | findTrack (int idx) |
|
bool | changeTrack (int idx) |
|
bool | wasChanged () const override |
|
int | id () const |
|
void | setId (int databaseId) |
|
QString | name () const |
|
void | setName (const QString &name) |
|
bool | isTemporary () const |
|
void | setTemporary (bool b) |
|
bool | insertTemporaryIntoDatabase () |
|
Util::SaveAsAnswer | save () |
|
Util::SaveAsAnswer | saveAs (const QString &str, bool force_override) |
|
Util::SaveAsAnswer | rename (const QString &str) |
|
bool | deletePlaylist () |
|
bool | removeFromDatabase () |
|
|
static QString | requestNewDatabaseName (QString prefix) |
|
|
int | restoreTrackBeforeStop () |
|
int | trackIndexBeforeStop () const |
|
void | setTrackIndexBeforeStop (int idx) |
|