Okular::SoundAnnotation
#include <annotations.h>
Detailed Description
Sound annotation.
The sound annotation represents a sound to be played when activated.
- Since
- 0.7 (KDE 4.1)
Definition at line 1575 of file annotations.h.
Constructor & Destructor Documentation
◆ SoundAnnotation() [1/2]
SoundAnnotation::SoundAnnotation | ( | ) |
Creates a new sound annotation.
Definition at line 2982 of file annotations.cpp.
◆ SoundAnnotation() [2/2]
|
explicit |
Creates a new sound annotation from the xml description
.
Definition at line 2987 of file annotations.cpp.
◆ ~SoundAnnotation()
|
override |
Destroys the sound annotation.
Definition at line 2992 of file annotations.cpp.
Member Function Documentation
◆ setSound()
void SoundAnnotation::setSound | ( | Sound * | s | ) |
Sets the s
representing the sound of the file attachment annotation.
Definition at line 3029 of file annotations.cpp.
◆ setSoundIconName()
void SoundAnnotation::setSoundIconName | ( | const QString & | iconName | ) |
Sets the iconName
of the icon for the sound annotation.
Definition at line 3017 of file annotations.cpp.
◆ sound()
Sound * SoundAnnotation::sound | ( | ) | const |
Gets the sound object.
Definition at line 3023 of file annotations.cpp.
◆ soundIconName()
QString SoundAnnotation::soundIconName | ( | ) | const |
Gets the name of the icon.
Definition at line 3011 of file annotations.cpp.
◆ store()
|
overridevirtual |
Stores the sound annotation as xml in document
under the given parent node
.
Reimplemented from Okular::Annotation.
Definition at line 2996 of file annotations.cpp.
◆ subType()
|
overridevirtual |
Returns the sub type of the sound annotation.
Implements Okular::Annotation.
Definition at line 3006 of file annotations.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:46:39 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.