20 #ifndef PLAYLISTMANAGER_H 21 #define PLAYLISTMANAGER_H 24 #include "playlistheadermodel.h" 25 #include "playlistmodel.h" 53 QList <PlayListModel *>
playLists()
const;
166 void move(
int i,
int j);
206 void add(
const QString &path);
210 void add(
const QStringList &paths);
253 void writePlayLists();
254 void onListChanged(
int flags);
257 void readPlayLists();
259 QList <PlayListModel *> m_models;
267 #endif // PLAYLISTMANAGER_H
void selectNextPlayList()
The PlayListModel class provides a data model for the playlist.
Definition: playlistmodel.h:101
void sortSelection(int mode)
void activatePlayList(PlayListModel *model)
PlayListModel * playListAt(int i) const
int indexOf(PlayListModel *model) const
PlayListHeaderModel * headerModel()
static PlayListManager * instance()
int selectedPlayListIndex() const
void removePlayList(PlayListModel *model)
PlayListManager(QObject *parent)
void playListAdded(int index)
int currentPlayListIndex() const
void selectedPlayListChanged(PlayListModel *selected, PlayListModel *previous)
void playListRemoved(int index)
void playListMoved(int i, int j)
The PlayListManager class is used to handle multiple playlists.
Definition: playlistmanager.h:33
PlayListModel * selectedPlayList() const
void selectPlayList(PlayListModel *model)
void add(const QString &path)
PlayListModel * createPlayList(const QString &name=QString())
The QmmpUiSettings class provides access to global libqmmpui library settings.
Definition: qmmpuisettings.h:35
void selectPreviousPlayList()
The PlayListTrack class provides a track for use with the PlayListModel class.
Definition: playlisttrack.h:36
PlayListModel * currentPlayList() const
void removeInvalidTracks()
void currentPlayListChanged(PlayListModel *current, PlayListModel *previous)
QStringList playListNames() const
QList< PlayListModel * > playLists() const