okular
Okular::SoundAction Class Reference
#include <action.h>
Inheritance diagram for Okular::SoundAction:

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] |
Member Function Documentation
| Action::ActionType SoundAction::actionType | ( | ) | const [virtual] |
| 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 |
| bool SoundAction::synchronous | ( | ) | const |
| bool SoundAction::repeat | ( | ) | const |
| bool SoundAction::mix | ( | ) | const |
| Okular::Sound * SoundAction::sound | ( | ) | const |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference