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 ***************************************************************************/
19 #ifndef TEXTTOSPEECHCONFIGURATIONDIALOG_H
20 #define TEXTTOSPEECHCONFIGURATIONDIALOG_H
22 #include <kdialogbase.h>
23 #include "texttospeechconfigurationui.h"
24 #include "texttospeechsystem.h"
26 /**This class represents a configuration widget for the text-to-speech system.
27 *@author Gunnar Schmi Dt
30 class TextToSpeechConfigurationWidget
: public texttospeechconfigurationui
{
31 friend class TextToSpeechConfigurationDialog
;
33 TextToSpeechConfigurationWidget(QWidget
*parent
, const char *name
);
34 ~TextToSpeechConfigurationWidget();
36 TextToSpeechSystem
*getTTSSystem() const;
38 void readOptions (KConfig
*config
, const QString
&langGroup
);
39 void saveOptions (KConfig
*config
, const QString
&langGroup
);
45 void buildCodecList ();
47 TextToSpeechSystem
*ttsSystem
;