![]() |
Sayonara Player
|
The PlaylistItemModel class. More...
#include <PlaylistModel.h>
Public Slots | |
| void | refreshData () |
| void | reverseTracks () |
Signals | |
| void | sigDataReady () |
| void | sigCurrentTrackChanged (int index) |
| void | sigCurrentScannedFileChanged (const QString &filename) |
| void | sigBusyChanged (bool b) |
Public Member Functions | |
| Model (PlaylistCreator *playlistCreator, PlaylistPtr playlist, QObject *parent) | |
| int | playlistIndex () const |
| void | clear () |
| void | removeTracks (const IndexSet &rows) |
| void | deleteTracks (const IndexSet &rows) |
| void | findTrack (int index) |
| IndexSet | moveTracks (const IndexSet &rows, int target_index) |
| IndexSet | moveTracksUp (const IndexSet &rows) |
| IndexSet | moveTracksDown (const IndexSet &rows) |
| IndexSet | copyTracks (const IndexSet &rows, int target_index) |
| void | insertTracks (const MetaDataList &tracks, int row) |
| void | insertTracks (const QStringList &files, int row) |
| int | currentTrack () const |
| const MetaData & | metadata (int row) const |
| MetaDataList | metadata (const IndexSet &rows) const |
| bool | hasLocalMedia (const IndexSet &rows) const |
| void | setDragIndex (int dragIndex) |
| void | changeRating (const IndexSet &rows, Rating rating) |
| void | changeTrack (int trackIndex, Seconds seconds=0) |
| void | setBusy (bool b) |
| Qt::ItemFlags | flags (const QModelIndex &index=QModelIndex()) const override |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
| bool | setData (const QModelIndex &index, const QVariant &value, int role) override |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
| SearchableModelInterface::ExtraTriggerMap | getExtraTriggers () override |
| QMimeData * | mimeData (const QModelIndexList &indexes) const override |
| QModelIndexList | searchResults (const QString &searchString) override |
| virtual ::Library::SearchModeMask | searchMode () const final |
The PlaylistItemModel class.