relicense to gplv2+
[kdeaccessibility.git] / kmouth / texttospeechconfigurationwidget.h
blob12c05f7272e7850533945a7e080d41dcdb4c1534
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 ***************************************************************************/
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 ***************************************************************************/
18 #ifndef TEXTTOSPEECHCONFIGURATIONWIDGET_H
19 #define TEXTTOSPEECHCONFIGURATIONWIDGET_H
21 #include "ui_texttospeechconfigurationui.h"
22 #include "texttospeechsystem.h"
24 /**This class represents a configuration widget for the text-to-speech system.
25 *@author Gunnar Schmi Dt
28 class TextToSpeechConfigurationWidget : public QWidget, public Ui::texttospeechconfigurationui {
29 friend class TextToSpeechConfigurationDialog;
30 public:
31 TextToSpeechConfigurationWidget(QWidget *parent, const char *name);
32 ~TextToSpeechConfigurationWidget();
34 TextToSpeechSystem *getTTSSystem() const;
36 void readOptions (KConfig *config, const QString &langGroup);
37 void saveOptions (KConfig *config, const QString &langGroup);
39 void ok();
40 void cancel();
42 private:
43 void buildCodecList ();
45 TextToSpeechSystem *ttsSystem;
48 #endif // TEXTTOSPEECHCONFIGURATIONWIDGET_H