• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdegraphics
  • Sitemap
  • Contact Us
 

okular

Okular::SoundAnnotation

Okular::SoundAnnotation Class Reference

#include <annotations.h>

Inheritance diagram for Okular::SoundAnnotation:

Inheritance graph
[legend]

List of all members.


Detailed Description

Sound annotation.

The sound annotation represents a sound to be played when activated.

Since:
0.7 (KDE 4.1)

Definition at line 1367 of file annotations.h.


Public Member Functions

void setSound (Sound *object)
void setSoundIconName (const QString &name)
Sound * sound () const
 SoundAnnotation (const QDomNode &description)
 SoundAnnotation ()
QString soundIconName () const
void store (QDomNode &node, QDomDocument &document) const
SubType subType () const
virtual ~SoundAnnotation ()

Constructor & Destructor Documentation

SoundAnnotation::SoundAnnotation (  ) 

Creates a new sound annotation.

Definition at line 2270 of file annotations.cpp.

SoundAnnotation::SoundAnnotation ( const QDomNode &  description  ) 

Creates a new sound annotation from the xml description.

Definition at line 2275 of file annotations.cpp.

SoundAnnotation::~SoundAnnotation (  )  [virtual]

Destroys the sound annotation.

Definition at line 2292 of file annotations.cpp.


Member Function Documentation

void SoundAnnotation::setSound ( Sound *  object  ) 

Sets the object representing the sound of the file attachment annotation.

Definition at line 2329 of file annotations.cpp.

void SoundAnnotation::setSoundIconName ( const QString &  name  ) 

Sets the name of the icon for the sound annotation.

Definition at line 2317 of file annotations.cpp.

Sound * SoundAnnotation::sound (  )  const

Gets the sound object.

Definition at line 2323 of file annotations.cpp.

QString SoundAnnotation::soundIconName (  )  const

Gets the name of the icon.

Definition at line 2311 of file annotations.cpp.

void SoundAnnotation::store ( QDomNode &  node,
QDomDocument &  document 
) const [virtual]

Stores the sound annotation as xml in document under the given parent node.

Reimplemented from Okular::Annotation.

Definition at line 2296 of file annotations.cpp.

Annotation::SubType SoundAnnotation::subType (  )  const [virtual]

Returns the sub type of the sound annotation.

Implements Okular::Annotation.

Definition at line 2306 of file annotations.cpp.


The documentation for this class was generated from the following files:
  • annotations.h
  • annotations.cpp

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdegraphics

Skip menu "kdegraphics"
  • okular
Generated for kdegraphics by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal