#include <qmmpui/playlistmanager.h>
The PlayListManager class is used to handle multiple playlists.
- Author
- Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru
◆ PlayListManager()
◆ ~PlayListManager()
◆ activatePlayList
Sets current playlist to model.
◆ activatePlayListIndex
| void activatePlayListIndex |
( |
int | index | ) |
|
|
slot |
Sets current playlist with index index.
◆ activateSelectedPlayList
| void activateSelectedPlayList |
( |
| ) |
|
|
slot |
Sets selected playlist as current.
◆ addPath
| void addPath |
( |
const QString & | path | ) |
|
|
slot |
This is a convenience function and is the same as calling selectedPlayList()->addPath(path)
◆ addPaths
| void addPaths |
( |
const QStringList & | paths | ) |
|
|
slot |
This is a convenience function and is the same as calling selectedPlayList()->addPaths(paths)
◆ addToQueue
◆ addTracks
This is a convenience function and is the same as calling selectedPlayList()->addTracks(tracks)
◆ clear
◆ clearQueue
◆ clearSelection
◆ count()
Returns a number of playlists.
◆ createPlayList
| PlayListModel * createPlayList |
( |
const QString & | name = QString() | ) |
|
|
slot |
Creates and selects new playlist with the given name name.
◆ currentPlayList()
◆ currentPlayListChanged
Emitted when current playlist changes.
- Parameters
-
| current | Current playlist. |
| previous | Previous playlist. |
◆ currentPlayListIndex()
| int currentPlayListIndex |
( |
| ) |
const |
Returns active playlist index.
◆ currentTrackRemoved
| void currentTrackRemoved |
( |
| ) |
|
|
signal |
Emitted when the current track of the current playlist is removed.
◆ headerModel()
Returns playlist header model.
◆ indexOf()
Returns the index position of the playlist model.
◆ instance()
Returns a pointer to the object's instance.
◆ invertSelection
◆ move
| void move |
( |
int | i, |
|
|
int | j ) |
|
slot |
Moves playlist with index i to index j.
◆ playListAdded
| void playListAdded |
( |
int | index | ) |
|
|
signal |
Emitted when the playlist with index index is added.
◆ playListAt()
Returns the playlist at index position i in the list. i must be a valid index position in the list (i.e., 0 <= i < count()).
◆ playListMoved
| void playListMoved |
( |
int | i, |
|
|
int | j ) |
|
signal |
Emitted when playlist changes its position from i to j.
◆ playListNames()
| QStringList playListNames |
( |
| ) |
const |
Returns a names of all playlists.
◆ playListRemoved
| void playListRemoved |
( |
int | index | ) |
|
|
signal |
Emitted when the playlist with index index is removed.
◆ playLists()
Returns a list of all playlists.
◆ playListsChanged
| void playListsChanged |
( |
| ) |
|
|
signal |
Emitted when the list of playlists is changed.
◆ randomizeList
◆ rebuildGroups
Rebuilds groups for all playlists.
◆ refresh
◆ removeDuplicates
| void removeDuplicates |
( |
| ) |
|
|
slot |
◆ removeInvalidTracks
| void removeInvalidTracks |
( |
| ) |
|
|
slot |
This is a convenience function and is the same as calling selectedPlayList()->clearInvalidItems()
◆ removePlayList
◆ removePlayListIndex
| void removePlayListIndex |
( |
int | index | ) |
|
|
slot |
Removes playlist with index index.
◆ removeSelected
◆ removeTrack [1/2]
| void removeTrack |
( |
int | i | ) |
|
|
slot |
◆ removeTrack [2/2]
This is a convenience function and is the same as calling selectedPlayList()->removeTrack(item)
◆ removeUnselected
| void removeUnselected |
( |
| ) |
|
|
slot |
◆ reverseList
◆ selectAll
◆ selectedPlayList()
Returns selected playlist.
◆ selectedPlayListChanged
Emitted when selected playlist changes.
- Parameters
-
| selected | Selected playlist. |
| previous | Previous selected playlist. |
◆ selectedPlayListIndex()
| int selectedPlayListIndex |
( |
| ) |
const |
Returns selected playlist index.
◆ selectNextPlayList
| void selectNextPlayList |
( |
| ) |
|
|
slot |
Selects next playlist if possible.
◆ selectPlayList
◆ selectPlayListIndex
| void selectPlayListIndex |
( |
int | index | ) |
|
|
slot |
Selects playlist with index index.
◆ selectPlayListName
| void selectPlayListName |
( |
const QString & | name | ) |
|
|
slot |
Selects playlist with name name.
◆ selectPreviousPlayList
| void selectPreviousPlayList |
( |
| ) |
|
|
slot |
Selects previous playlist if possible.
◆ showDetails
◆ sort
◆ sortSelection
This is a convenience function and is the same as calling selectedPlayList()->sortSelection(mode)
◆ stopAfterSelected
| void stopAfterSelected |
( |
| ) |
|
|
slot |
The documentation for this class was generated from the following file: