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 ***************************************************************************/
18 #ifndef TEXTTOSPEECHSYSTEM_H
19 #define TEXTTOSPEECHSYSTEM_H
21 #include <QtCore/QList>
22 #include <QtCore/QObject>
26 /**This class represents a text-to-speech system.
27 *@author Gunnar Schmi Dt
30 class TextToSpeechSystem
: public QObject
{
32 friend class TextToSpeechConfigurationWidget
;
35 ~TextToSpeechSystem();
37 void readOptions (KConfig
*config
, const QString
&langGroup
);
38 void saveOptions (KConfig
*config
, const QString
&langGroup
);
41 void speak (const QString
&text
, const QString
&language
);
44 void buildCodecList ();
46 QList
<QTextCodec
*> *codecList
;