summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/ttsgui.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/ttsgui.h')
-rw-r--r--rbutil/rbutilqt/ttsgui.h71
1 files changed, 71 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/ttsgui.h b/rbutil/rbutilqt/ttsgui.h
new file mode 100644
index 0000000000..427dcd288c
--- /dev/null
+++ b/rbutil/rbutilqt/ttsgui.h
@@ -0,0 +1,71 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id: ttsgui.h 15212 2007-10-19 21:49:07Z domonoky $
11 *
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.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20#ifndef TTSGUI_H
21#define TTSGUI_H
22
23#include <QtGui>
24
25#include "ui_ttsexescfgfrm.h"
26#include "ui_sapicfgfrm.h"
27
28class RbSettings;
29class TTSSapi;
30
31class TTSSapiGui : public QDialog
32{
33 Q_OBJECT
34public:
35 TTSSapiGui(TTSSapi* sapi,QDialog* parent = NULL);
36
37 void showCfg();
38 void setCfg(RbSettings* sett){settings = sett;}
39public slots:
40
41 virtual void accept(void);
42 virtual void reject(void);
43 virtual void reset(void);
44 void updateVoices(QString language);
45private:
46 Ui::SapiCfgFrm ui;
47 RbSettings* settings;
48 TTSSapi* m_sapi;
49};
50
51class TTSExesGui : public QDialog
52{
53 Q_OBJECT
54public:
55 TTSExesGui(QDialog* parent = NULL);
56
57 void showCfg(QString m_name);
58 void setCfg(RbSettings* sett){settings = sett;}
59
60public slots:
61 virtual void accept(void);
62 virtual void reject(void);
63 virtual void reset(void);
64 void browse(void);
65private:
66 Ui::TTSExesCfgFrm ui;
67 RbSettings* settings;
68 QString m_name;
69};
70
71#endif