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

okular

audioplayer.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2007 by Pino Toscano <pino@kde.org>                     *
00003  *                                                                         *
00004  *   This program is free software; you can redistribute it and/or modify  *
00005  *   it under the terms of the GNU General Public License as published by  *
00006  *   the Free Software Foundation; either version 2 of the License, or     *
00007  *   (at your option) any later version.                                   *
00008  ***************************************************************************/
00009 
00010 #ifndef _OKULAR_AUDIOPLAYER_H_
00011 #define _OKULAR_AUDIOPLAYER_H_
00012 
00013 #include <okular/core/okular_export.h>
00014 
00015 #include <QtCore/QObject>
00016 
00017 namespace Okular {
00018 
00019 class AudioPlayerPrivate;
00020 class Document;
00021 class Sound;
00022 class SoundAction;
00023 
00030 class OKULAR_EXPORT AudioPlayer : public QObject
00031 {
00032     Q_OBJECT
00033 
00034     public:
00035         ~AudioPlayer();
00036 
00040         static AudioPlayer * instance();
00041 
00046         void playSound( const Sound * sound, const SoundAction * linksound = 0 );
00047 
00051         void stopPlaybacks();
00052 
00053     private:
00054         AudioPlayer();
00055 
00056         friend class AudioPlayerPrivate;
00057         AudioPlayerPrivate * const d;
00058         friend class Document;
00059 
00060         Q_DISABLE_COPY( AudioPlayer )
00061         Q_PRIVATE_SLOT( d, void finished( int ) )
00062 };
00063 
00064 }
00065 
00066 #endif

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