okular
#include <action.h>

Public Member Functions | |
SoundAction (double volume, bool synchronous, bool repeat, bool mix, Okular::Sound *sound) | |
virtual | ~SoundAction () |
QString | actionTip () const |
ActionType | actionType () const |
bool | mix () const |
bool | repeat () const |
Okular::Sound * | sound () const |
bool | synchronous () const |
double | volume () const |
![]() | |
virtual | ~Action () |
QVariant | nativeId () const |
void | setNativeId (const QVariant &id) |
Additional Inherited Members | |
![]() | |
enum | ActionType { Goto, Execute, Browse, DocAction, Sound, Movie, Script, Rendition } |
Detailed Description
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 315 of file action.cpp.
|
virtual |
Destroys the sound action.
Definition at line 320 of file action.cpp.
Member Function Documentation
|
virtual |
Returns the action tip.
Reimplemented from Okular::Action.
Definition at line 329 of file action.cpp.
|
virtual |
bool SoundAction::mix | ( | ) | const |
Returns whether the sound shall be mixed.
Definition at line 352 of file action.cpp.
bool SoundAction::repeat | ( | ) | const |
Returns whether the sound shall be repeated.
Definition at line 346 of file action.cpp.
Okular::Sound * SoundAction::sound | ( | ) | const |
Returns the sound object which contains the sound data.
Definition at line 358 of file action.cpp.
bool SoundAction::synchronous | ( | ) | const |
Returns whether the sound shall be played synchronous.
Definition at line 340 of file action.cpp.
double SoundAction::volume | ( | ) | const |
Returns the volume of the sound.
Definition at line 334 of file action.cpp.
The documentation for this class was generated from the following files:
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.