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

okular

  • Okular
  • AudioPlayer
Public Member Functions | Static Public Member Functions | List of all members
Okular::AudioPlayer Class Reference

#include <audioplayer.h>

Inheritance diagram for Okular::AudioPlayer:
Inheritance graph
[legend]

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

AudioPlayer * AudioPlayer::instance ( )
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:
  • audioplayer.h
  • audioplayer.cpp
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

KDE's Doxygen guidelines are available online.

okular

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

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal