1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id: ttsgui.h 15212 2007-10-19 21:49:07Z domonoky $
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"
33 class TTSSapiGui
: public QDialog
37 TTSSapiGui(TTSSapi
* sapi
,QDialog
* parent
= NULL
);
40 void setCfg(RbSettings
* sett
){settings
= sett
;}
43 virtual void accept(void);
44 virtual void reject(void);
45 virtual void reset(void);
46 void updateVoices(QString language
);
47 void useSapi4Changed(int);
54 class TTSExesGui
: public QDialog
58 TTSExesGui(QDialog
* parent
= NULL
);
60 void showCfg(QString m_name
);
61 void setCfg(RbSettings
* sett
){settings
= sett
;}
64 virtual void accept(void);
65 virtual void reject(void);
66 virtual void reset(void);