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 1569 of file annotations.h.
Constructor & Destructor Documentation
◆ SoundAnnotation() [1/2]
SoundAnnotation::SoundAnnotation | ( | ) |
Creates a new sound annotation.
Definition at line 2956 of file annotations.cpp.
◆ SoundAnnotation() [2/2]
|
explicit |
Creates a new sound annotation from the xml description
.
Definition at line 2961 of file annotations.cpp.
◆ ~SoundAnnotation()
|
override |
Destroys the sound annotation.
Definition at line 2966 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 3003 of file annotations.cpp.
◆ setSoundIconName()
void SoundAnnotation::setSoundIconName | ( | const QString & | iconName | ) |
Sets the iconName
of the icon for the sound annotation.
Definition at line 2991 of file annotations.cpp.
◆ sound()
Sound * SoundAnnotation::sound | ( | ) | const |
Gets the sound object.
Definition at line 2997 of file annotations.cpp.
◆ soundIconName()
QString SoundAnnotation::soundIconName | ( | ) | const |
Gets the name of the icon.
Definition at line 2985 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 2970 of file annotations.cpp.
◆ subType()
|
overridevirtual |
Returns the sub type of the sound annotation.
Implements Okular::Annotation.
Definition at line 2980 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 Nov 22 2024 12:02:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.