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 2952 of file annotations.cpp.
◆ SoundAnnotation() [2/2]
|
explicit |
Creates a new sound annotation from the xml description
.
Definition at line 2957 of file annotations.cpp.
◆ ~SoundAnnotation()
|
override |
Destroys the sound annotation.
Definition at line 2962 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 2999 of file annotations.cpp.
◆ setSoundIconName()
void SoundAnnotation::setSoundIconName | ( | const QString & | iconName | ) |
Sets the iconName
of the icon for the sound annotation.
Definition at line 2987 of file annotations.cpp.
◆ sound()
Sound * SoundAnnotation::sound | ( | ) | const |
Gets the sound object.
Definition at line 2993 of file annotations.cpp.
◆ soundIconName()
QString SoundAnnotation::soundIconName | ( | ) | const |
Gets the name of the icon.
Definition at line 2981 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 2966 of file annotations.cpp.
◆ subType()
|
overridevirtual |
Returns the sub type of the sound annotation.
Implements Okular::Annotation.
Definition at line 2976 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 8 2024 11:49:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.