1 /***************************************************************************
2 texttospeechsystem.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 TEXTTOSPEECHSYSTEM_H
20 #define TEXTTOSPEECHSYSTEM_H
28 /**This class represents a text-to-speech system.
29 *@author Gunnar Schmi Dt
32 class TextToSpeechSystem
: public QObject
{
34 friend class TextToSpeechConfigurationWidget
;
37 ~TextToSpeechSystem();
39 void readOptions (KConfig
*config
, const QString
&langGroup
);
40 void saveOptions (KConfig
*config
, const QString
&langGroup
);
43 void speak (const QString
&text
, const QString
&language
);
46 void buildCodecList ();
48 QPtrList
<QTextCodec
> *codecList
;