1 /***************************************************************************
2 texttospeechconfigurationdialog.h - description
5 copyright : (C) 2002 by Gunnar Schmi Dt
6 email : kmouth@schmi-dt.de
7 ***************************************************************************/
9 /***************************************************************************
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. *
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
;
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
);
43 void buildCodecList ();
45 TextToSpeechSystem
*ttsSystem
;
48 #endif // TEXTTOSPEECHCONFIGURATIONWIDGET_H