• Skip to content
  • Skip to link menu
KDE 4.2 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 280 of file action.h.


Public Member Functions

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

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 283 of file action.cpp.

SoundAction::~SoundAction (  )  [virtual]

Destroys the sound action.

Definition at line 288 of file action.cpp.


Member Function Documentation

QString SoundAction::actionTip (  )  const [virtual]

Returns the action tip.

Reimplemented from Okular::Action.

Definition at line 297 of file action.cpp.

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

Returns the action type.

Implements Okular::Action.

Definition at line 292 of file action.cpp.

bool SoundAction::mix (  )  const

Returns whether the sound shall be mixed.

Definition at line 320 of file action.cpp.

bool SoundAction::repeat (  )  const

Returns whether the sound shall be repeated.

Definition at line 314 of file action.cpp.

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

Returns the sound object which contains the sound data.

Definition at line 326 of file action.cpp.

bool SoundAction::synchronous (  )  const

Returns whether the sound shall be played synchronous.

Definition at line 308 of file action.cpp.

double SoundAction::volume (  )  const

Returns the volume of the sound.

Definition at line 302 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