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

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.
Public Member Functions | |
| ~AudioPlayer () | |
| void | playSound (const Sound *sound, const SoundAction *linksound=0) |
| void | stopPlaybacks () |
Static Public Member Functions | |
| static AudioPlayer * | instance () |
Friends | |
| class | AudioPlayerPrivate |
| class | Document |
Constructor & Destructor Documentation
| AudioPlayer::~AudioPlayer | ( | ) |
Definition at line 213 of file audioplayer.cpp.
Member Function Documentation
| AudioPlayer * AudioPlayer::instance | ( | ) | [static] |
| 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 224 of file audioplayer.cpp.
| void AudioPlayer::stopPlaybacks | ( | ) |
Friends And Related Function Documentation
friend class AudioPlayerPrivate [friend] |
Definition at line 56 of file audioplayer.h.
friend class Document [friend] |
Definition at line 58 of file audioplayer.h.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference