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

okular

  • sources
  • kde-4.12
  • kdegraphics
  • okular
  • core
audioplayer_p.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2007 by Pino Toscano <pino@kde.org> *
3  * *
4  * This program is free software; you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation; either version 2 of the License, or *
7  * (at your option) any later version. *
8  ***************************************************************************/
9 
10 #ifndef _OKULAR_AUDIOPLAYER_P_H_
11 #define _OKULAR_AUDIOPLAYER_P_H_
12 
13 // qt/kde includes
14 #include <qhash.h>
15 #include <qsignalmapper.h>
16 #include <kurl.h>
17 
18 class QBuffer;
19 class PlayData;
20 class SoundInfo;
21 
22 namespace Okular {
23 
24 class AudioPlayer;
25 
26 class AudioPlayerPrivate
27 {
28 public:
29  AudioPlayerPrivate( AudioPlayer * qq );
30 
31  ~AudioPlayerPrivate();
32 
33  int newId() const;
34  bool play( const SoundInfo& si );
35  void stopPlayings();
36 
37  // private slots
38  void finished( int );
39 
40  AudioPlayer * q;
41 
42  QHash< int, PlayData * > m_playing;
43  QSignalMapper m_mapper;
44  KUrl m_currentDocument;
45 };
46 
47 }
48 
49 #endif
Okular::AudioPlayerPrivate::play
bool play(const SoundInfo &si)
Definition: audioplayer.cpp:111
Okular::AudioPlayerPrivate::~AudioPlayerPrivate
~AudioPlayerPrivate()
Definition: audioplayer.cpp:93
Okular::AudioPlayer
An audio player.
Definition: audioplayer.h:30
Okular::AudioPlayerPrivate::m_currentDocument
KUrl m_currentDocument
Definition: audioplayer_p.h:44
Okular::AudioPlayerPrivate::stopPlayings
void stopPlayings()
Definition: audioplayer.cpp:180
Okular::AudioPlayerPrivate::newId
int newId() const
Definition: audioplayer.cpp:98
Okular::AudioPlayerPrivate
Definition: audioplayer_p.h:26
Okular::AudioPlayerPrivate::q
AudioPlayer * q
Definition: audioplayer_p.h:40
Okular::AudioPlayerPrivate::m_mapper
QSignalMapper m_mapper
Definition: audioplayer_p.h:43
Okular::AudioPlayerPrivate::AudioPlayerPrivate
AudioPlayerPrivate(AudioPlayer *qq)
Definition: audioplayer.cpp:87
Okular::AudioPlayerPrivate::finished
void finished(int)
Definition: audioplayer.cpp:186
Okular::AudioPlayerPrivate::m_playing
QHash< int, PlayData * > m_playing
Definition: audioplayer_p.h:42
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okular

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

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal