1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
9 * Copyright (C) 2007 by Dominik Wenger
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
27 #include "ui_ttsexescfgfrm.h"
28 #include "ui_sapicfgfrm.h"
29 #include "ui_ttsfestivalcfgform.h"
35 class TTSSapiGui
: public QDialog
39 TTSSapiGui(TTSSapi
* sapi
,QDialog
* parent
= NULL
);
42 void setCfg(RbSettings
* sett
){settings
= sett
;}
45 virtual void accept(void);
46 virtual void reject(void);
47 virtual void reset(void);
48 void updateVoices(QString language
);
49 void useSapi4Changed(int);
56 class TTSExesGui
: public QDialog
60 TTSExesGui(QDialog
* parent
= NULL
);
62 void showCfg(QString m_name
);
63 void setCfg(RbSettings
* sett
){settings
= sett
;}
66 virtual void accept(void);
67 virtual void reject(void);
68 virtual void reset(void);
76 class TTSFestivalGui
: public QDialog
80 TTSFestivalGui(TTSFestival
* festival
, QDialog
* parent
= NULL
);
83 void setCfg(RbSettings
* sett
){settings
= sett
;}
86 virtual void accept(void);
87 virtual void reject(void);
88 //virtual void reset(void);
90 void onRefreshButton();
91 void onShowDescription(int state
);
92 void onBrowseServer();
93 void onBrowseClient();
95 Ui::TTSFestivalCfgFrm ui
;
97 TTSFestival
* festival
;
101 void updateDescription(QString value
);