MediaPlayer Class Reference
The
MediaPlayer class provides a simple way to use
SoundCore and
PlayListModel together.
More...
#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.
bool isNoPlaylistAdvance |
( |
|
) |
const |
Returns true if "No playlist advance" option is enabled, otherwise returns false
bool isRepeatable |
( |
|
) |
const |
Returns true if "Repeate Track" option is enabled, otherwise returns false
Sets next playlist item for playing.
void noPlaylistAdvanceChanged |
( |
bool |
enabled |
) |
[signal] |
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.
void repeatableChanged |
( |
bool |
enabled |
) |
[signal] |
Tracks current track repeat state;
- Parameters:
-
| enabled | New repeate state of the current track (true - enabled, false - disabled) |
void setNoPlaylistAdvance |
( |
bool |
enable |
) |
[slot] |
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) |
void setRepeatable |
( |
bool |
enable |
) |
[slot] |
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: