QMediaPlaylistNavigator Class ReferenceThe QMediaPlaylistNavigator class provides navigation for a media playlist. More... #include <QMediaPlaylistNavigator> Inherits QObject. Properties
Public Functions
Public Slots
Signals
Additional Inherited Members
Detailed DescriptionThe QMediaPlaylistNavigator class provides navigation for a media playlist. See also QMediaPlaylist and QMediaPlaylistProvider. Property Documentation
|
int | currentIndex () const |
void | jump ( int position ) |
Notifier signal:
void | currentIndexChanged ( int position ) |
See also nextIndex() and previousIndex().
Contains the media at the current position in the playlist.
Access functions:
QMediaContent | currentItem () const |
See also currentIndex().
Contains the playback mode.
Access functions:
QMediaPlaylist::PlaybackMode | playbackMode () const |
void | setPlaybackMode ( QMediaPlaylist::PlaybackMode mode ) |
Notifier signal:
void | playbackModeChanged ( QMediaPlaylist::PlaybackMode mode ) |
Constructs a media playlist navigator for a playlist.
The parent is passed to QObject.
Destroys a media playlist navigator.
Signals that the current media has changed.
Signals the position of the current media has changed.
Returns the media at a position in the playlist.
Advances to the next item in the playlist.
See also previous(), jump(), and playbackMode().
Returns a position steps ahead of the current position accounting for the playbackMode().
If the position is beyond the end of the playlist, this value returned is -1.
See also currentIndex(), previousIndex(), and playbackMode().
Returns the media that is steps positions ahead of the current position in the playlist.
See also nextIndex().
Signals that the playback mode has changed.
Returns the playlist being navigated.
See also setPlaylist().
Returns to the previous item in the playlist,
See also next(), jump(), and playbackMode().
Returns a position steps behind the current position accounting for the playbackMode().
If the position is prior to the beginning of the playlist this will return -1.
See also currentIndex(), nextIndex(), and playbackMode().
Returns the media that is steps positions behind the current position in the playlist.
See also previousIndex().
Sets the playlist to navigate.
See also playlist().
Signals that media immediately surrounding the current position has changed.