Add a useful note regarding USB connection to the iAudio X5 installation chapter.
[Rockbox.git] / rbutil / rbutilqt / ttsgui.h
blob8f53bf34a469f85445373164f4a545973e562acc
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id: ttsgui.h 15212 2007-10-19 21:49:07Z domonoky $
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef TTSGUI_H
21 #define TTSGUI_H
23 #include <QtGui>
25 #include "ui_ttsexescfgfrm.h"
26 #include "ui_sapicfgfrm.h"
28 class RbSettings;
29 class TTSSapi;
31 class TTSSapiGui : public QDialog
33 Q_OBJECT
34 public:
35 TTSSapiGui(TTSSapi* sapi,QDialog* parent = NULL);
37 void showCfg();
38 void setCfg(RbSettings* sett){settings = sett;}
39 public slots:
41 virtual void accept(void);
42 virtual void reject(void);
43 virtual void reset(void);
44 void updateVoices(QString language);
45 void useSapi4Changed(int);
46 private:
47 Ui::SapiCfgFrm ui;
48 RbSettings* settings;
49 TTSSapi* m_sapi;
52 class TTSExesGui : public QDialog
54 Q_OBJECT
55 public:
56 TTSExesGui(QDialog* parent = NULL);
58 void showCfg(QString m_name);
59 void setCfg(RbSettings* sett){settings = sett;}
61 public slots:
62 virtual void accept(void);
63 virtual void reject(void);
64 virtual void reset(void);
65 void browse(void);
66 private:
67 Ui::TTSExesCfgFrm ui;
68 RbSettings* settings;
69 QString m_name;
72 #endif