MediaPlayer Class Reference

The MediaPlayer class provides a simple way to use SoundCore and PlayListModel together. More...

#include <mediaplayer.h>

List of all members.

Public Slots

void play (qint64 offset=-1)
void stop ()
void next ()
void previous ()

Public Member Functions

 MediaPlayer (QObject *parent=0)
 ~MediaPlayer ()
PlayListManager * playListManager ()

Static Public Member Functions

static MediaPlayer * instance ()


Detailed Description

The MediaPlayer class provides a simple way to use SoundCore and PlayListModel together.

Author:
Ilya Kotov <forkotov02@hotmail.ru>

Constructor & Destructor Documentation

MediaPlayer ( QObject *  parent = 0  ) 

Object constructor,

Parameters:
parent Parent object

~MediaPlayer (  ) 

Destructor


Member Function Documentation

static MediaPlayer* instance (  )  [static]

Returns a pointer to the object's instance.

void next (  )  [slot]

Sets next playlist item for playing.

void play ( qint64  offset = -1  )  [slot]

Starts playback.

PlayListManager* playListManager (  ) 

Returns playlist manager pointer

void previous (  )  [slot]

Sets previous playlist item for playing.

void stop (  )  [slot]

Stops playback.


The documentation for this class was generated from the following file:

Generated on Mon May 9 23:58:51 2016 for Qmmp by  doxygen 1.5.9