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

parley

audiowidget.h

Go to the documentation of this file.
00001 /***************************************************************************
00002 
00003     Copyright 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
00004 
00005  ***************************************************************************/
00006 
00007 /***************************************************************************
00008  *                                                                         *
00009  *   This program is free software; you can redistribute it and/or modify  *
00010  *   it under the terms of the GNU General Public License as published by  *
00011  *   the Free Software Foundation; either version 2 of the License, or     *
00012  *   (at your option) any later version.                                   *
00013  *                                                                         *
00014  ***************************************************************************/
00015 
00016 #ifndef AUDIOWIDGET_H
00017 #define AUDIOWIDGET_H
00018 
00019 
00020 #include "ui_audiowidget.h"
00021 
00022 namespace Phonon
00023 {
00024     class MediaObject;
00025 }
00026 
00027 class KEduVocExpression;
00028 
00029 class AudioWidget : public QWidget, public Ui::AudioWidget
00030 {
00031     Q_OBJECT
00032 public:
00033     explicit AudioWidget(QWidget* parent = 0);
00034 
00035 public slots:
00041     void setTranslation(KEduVocExpression* entry, int translation);
00042 
00043 private slots:
00044     void slotAudioFileChanged(const QString & url);
00045     void playAudio();
00046 //     void recordAudio();
00047     void slotPlaybackFinished();
00048 
00049 private:
00051     int               m_currentTranslation;
00053     KEduVocExpression* m_entry;
00054 
00055     Phonon::MediaObject* m_player;
00056 };
00057 #endif

parley

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

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu 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