1/***************************************************************************
2 texttospeechconfigurationdialog.h - description
3 -------------------
4 begin : Son Sep 8 2002
5 copyright : (C) 2002 by Gunnar Schmi Dt
6 email : kmouth@schmi-dt.de
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18#ifndef TEXTTOSPEECHCONFIGURATIONWIDGET_H
19#define TEXTTOSPEECHCONFIGURATIONWIDGET_H
20
21#include "ui_texttospeechconfigurationui.h"
22#include "texttospeechsystem.h"
23
24/**This class represents a configuration widget for the text-to-speech system.
25 *@author Gunnar Schmi Dt
26 */
27
28class TextToSpeechConfigurationWidget : public QWidget, public Ui::texttospeechconfigurationui {
29 friend class TextToSpeechConfigurationDialog;
30public:
31 TextToSpeechConfigurationWidget(QWidget *parent, const char *name);
32 ~TextToSpeechConfigurationWidget();
33
34 TextToSpeechSystem *getTTSSystem() const;
35
36 void readOptions (KConfig *config, const QString &langGroup);
37 void saveOptions (KConfig *config, const QString &langGroup);
38
39 void ok();
40 void cancel();
41
42private:
43 void buildCodecList ();
44
45 TextToSpeechSystem *ttsSystem;
46};
47
48#endif // TEXTTOSPEECHCONFIGURATIONWIDGET_H
49