• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdegraphics
  • Sitemap
  • Contact Us
 

okular

Okular::AudioPlayer

Okular::AudioPlayer Class Reference

#include <audioplayer.h>

Inheritance diagram for Okular::AudioPlayer:

Inheritance graph
[legend]

List of all members.


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

void playSound (const Sound *sound, const SoundAction *linksound=0)
void stopPlaybacks ()
 ~AudioPlayer ()

Static Public Member Functions

static AudioPlayer * instance ()

Constructor & Destructor Documentation

AudioPlayer::~AudioPlayer (  ) 

Definition at line 213 of file audioplayer.cpp.


Member Function Documentation

AudioPlayer * AudioPlayer::instance (  )  [static]

Gets the instance of the audio player.

Definition at line 218 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 224 of file audioplayer.cpp.

void AudioPlayer::stopPlaybacks (  ) 

Tell the AudioPlayer to stop all the playbacks.

Definition at line 245 of file audioplayer.cpp.


The documentation for this class was generated from the following files:
  • audioplayer.h
  • audioplayer.cpp

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdegraphics

Skip menu "kdegraphics"
  • okular
Generated for kdegraphics by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal