#include <mediaplayer.h>
List of all members.
Detailed Description
The MediaPlayer class provides a simple way to use SoundCore and PlayListModel together.
- Author:
- Ilya Kotov <forkotov02@hotmail.ru>
Constructor & Destructor Documentation
Object constructor,
- Parameters:
-
Member Function Documentation
Returns a pointer to the object's instance.
Returns true if "No playlist advance" option is enabled, otherwise returns false
Returns true if "Repeate Track" option is enabled, otherwise returns false
Sets next playlist item for playing.
Emitted when state of the "No playlist advance" option changes.
- Parameters:
-
enabled | New state of this option (true - no playlist advance, false - normal playlist behaviour) |
void play |
( |
qint64 |
offset = -1 | ) |
[slot] |
Returns playlist manager pointer
Sets previous playlist item for playing.
Tracks current track repeat state;
- Parameters:
-
enabled | New repeate state of the current track (true - enabled, false - disabled) |
When finished playing a song, don't automatically advance to the next
- Parameters:
-
enable | State of the 'No playlist advance' option (true - enabled, false - normal playback) |
Toggles the current track repeat.
- Parameters:
-
enable | Repeate state of the current track (true - to repeat, false - to stop repeating) |
The documentation for this class was generated from the following file: