okular
Okular::AudioPlayer Class Reference
#include <audioplayer.h>
Inheritance diagram for Okular::AudioPlayer:

Public Member Functions | |
~AudioPlayer () | |
void | playSound (const Sound *sound, const SoundAction *linksound=0) |
void | stopPlaybacks () |
Static Public Member Functions | |
static AudioPlayer * | instance () |
Detailed Description
An audio player.
Singleton utility class to play sounds in documents using the KDE sound system.
Definition at line 30 of file audioplayer.h.
Constructor & Destructor Documentation
AudioPlayer::~AudioPlayer | ( | ) |
Definition at line 214 of file audioplayer.cpp.
Member Function Documentation
|
static |
Gets the instance of the audio player.
Definition at line 219 of file audioplayer.cpp.
void AudioPlayer::playSound | ( | const Sound * | sound, |
const SoundAction * | linksound = 0 |
||
) |
Enqueue the specified sound
for playing, optionally taking more information about the playing from the soundlink
.
Definition at line 225 of file audioplayer.cpp.
void AudioPlayer::stopPlaybacks | ( | ) |
Tell the AudioPlayer to stop all the playbacks.
Definition at line 246 of file audioplayer.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.