A few new icons...
[kdeaccessibility.git] / kmouth / texttospeechconfigurationwidget.h
blob439ae4fa644d2793e1032274f47475063d914dea
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 ***************************************************************************/
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;
32 public:
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);
41 void ok();
42 void cancel();
44 private:
45 void buildCodecList ();
47 TextToSpeechSystem *ttsSystem;
50 #endif