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

okular

Okular::SoundAction

Okular::SoundAction Class Reference

#include <action.h>

Inheritance diagram for Okular::SoundAction:

Inheritance graph
[legend]

List of all members.


Detailed Description

The Sound action plays a sound on activation.

Definition at line 277 of file action.h.


Public Member Functions

 SoundAction (double volume, bool synchronous, bool repeat, bool mix, Okular::Sound *sound)
virtual ~SoundAction ()
ActionType actionType () const
QString actionTip () const
double volume () const
bool synchronous () const
bool repeat () const
bool mix () const
Okular::Sound * sound () const

Constructor & Destructor Documentation

SoundAction::SoundAction ( double  volume,
bool  synchronous,
bool  repeat,
bool  mix,
Okular::Sound *  sound 
)

Creates a new sound action.

Parameters:
volume The volume of the sound.
synchronous Whether the sound shall be played synchronous.
repeat Whether the sound shall be repeated.
mix Whether the sound shall be mixed.
sound The sound object which contains the sound data.

Definition at line 276 of file action.cpp.

SoundAction::~SoundAction (  )  [virtual]

Destroys the sound action.

Definition at line 281 of file action.cpp.


Member Function Documentation

Action::ActionType SoundAction::actionType (  )  const [virtual]

Returns the action type.

Implements Okular::Action.

Definition at line 285 of file action.cpp.

QString SoundAction::actionTip (  )  const [virtual]

Returns the action tip.

Reimplemented from Okular::Action.

Definition at line 290 of file action.cpp.

double SoundAction::volume (  )  const

Returns the volume of the sound.

Definition at line 295 of file action.cpp.

bool SoundAction::synchronous (  )  const

Returns whether the sound shall be played synchronous.

Definition at line 301 of file action.cpp.

bool SoundAction::repeat (  )  const

Returns whether the sound shall be repeated.

Definition at line 307 of file action.cpp.

bool SoundAction::mix (  )  const

Returns whether the sound shall be mixed.

Definition at line 313 of file action.cpp.

Okular::Sound * SoundAction::sound (  )  const

Returns the sound object which contains the sound data.

Definition at line 319 of file action.cpp.


The documentation for this class was generated from the following files:
  • action.h
  • action.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