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.h105
1 files changed, 0 insertions, 105 deletions
diff --git a/rbutil/rbutilqt/ttsgui.h b/rbutil/rbutilqt/ttsgui.h
deleted file mode 100644
index 693555cb6c..0000000000
--- a/rbutil/rbutilqt/ttsgui.h
+++ /dev/null
@@ -1,105 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id$
11 *
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.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22#ifndef TTSGUI_H
23#define TTSGUI_H
24
25#include <QtGui>
26
27#include "ui_ttsexescfgfrm.h"
28#include "ui_sapicfgfrm.h"
29#include "ui_ttsfestivalcfgform.h"
30
31class RbSettings;
32class TTSSapi;
33class TTSFestival;
34
35class TTSSapiGui : public QDialog
36{
37 Q_OBJECT
38 public:
39 TTSSapiGui(TTSSapi* sapi,QDialog* parent = NULL);
40
41 void showCfg();
42 void setCfg(RbSettings* sett){settings = sett;}
43 public slots:
44
45 virtual void accept(void);
46 virtual void reject(void);
47 virtual void reset(void);
48 void updateVoices(QString language);
49 void useSapi4Changed(int);
50 private:
51 Ui::SapiCfgFrm ui;
52 RbSettings* settings;
53 TTSSapi* m_sapi;
54};
55
56class TTSExesGui : public QDialog
57{
58 Q_OBJECT
59 public:
60 TTSExesGui(QDialog* parent = NULL);
61
62 void showCfg(QString m_name);
63 void setCfg(RbSettings* sett){settings = sett;}
64
65 public slots:
66 virtual void accept(void);
67 virtual void reject(void);
68 virtual void reset(void);
69 void browse(void);
70 private:
71 Ui::TTSExesCfgFrm ui;
72 RbSettings* settings;
73 QString m_name;
74};
75
76class TTSFestivalGui : public QDialog
77{
78 Q_OBJECT
79 public:
80 TTSFestivalGui(TTSFestival* festival, QDialog* parent = NULL);
81
82 void showCfg();
83 void setCfg(RbSettings* sett){settings = sett;}
84
85 public slots:
86 virtual void accept(void);
87 virtual void reject(void);
88 //virtual void reset(void);
89
90 void onRefreshButton();
91 void onShowDescription(int state);
92 void onBrowseServer();
93 void onBrowseClient();
94 private:
95 Ui::TTSFestivalCfgFrm ui;
96 RbSettings* settings;
97 TTSFestival* festival;
98
99 void updateVoices();
100 private slots:
101 void updateDescription(QString value);
102};
103
104#endif
105