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

parley

  • sources
  • kde-4.12
  • kdeedu
  • parley
  • src
  • editor
audiowidget.h
Go to the documentation of this file.
1 /***************************************************************************
2 
3  Copyright 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
4 
5  ***************************************************************************/
6 
7 /***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 
16 #ifndef AUDIOWIDGET_H
17 #define AUDIOWIDGET_H
18 
19 
20 #include "ui_audiowidget.h"
21 
22 namespace Phonon
23 {
24  class MediaObject;
25 }
26 
27 class KEduVocExpression;
28 
29 namespace Editor {
30 
31 class AudioWidget : public QWidget, public Ui::AudioWidget
32 {
33  Q_OBJECT
34 public:
35  explicit AudioWidget(QWidget* parent = 0);
36 
37 public slots:
43  void setTranslation(KEduVocExpression* entry, int translation);
44 
45 private slots:
46  void slotAudioFileChanged(const QString & url);
47  void playAudio();
48 // void recordAudio();
49  void slotPlaybackFinished();
50 
51 private:
53  int m_currentTranslation;
55  KEduVocExpression* m_entry;
56 
57  Phonon::MediaObject* m_player;
58 };
59 
60 }
61 
62 #endif
QWidget
Editor::AudioWidget::setTranslation
void setTranslation(KEduVocExpression *entry, int translation)
Update the word.
Definition: audiowidget.cpp:45
Editor::AudioWidget
Definition: audiowidget.h:31
Editor::AudioWidget::AudioWidget
AudioWidget(QWidget *parent=0)
Definition: audiowidget.cpp:27
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

parley

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

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