summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/installtalkwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/installtalkwindow.h')
-rw-r--r--rbutil/rbutilqt/installtalkwindow.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/installtalkwindow.h b/rbutil/rbutilqt/installtalkwindow.h
new file mode 100644
index 0000000000..1962d36a52
--- /dev/null
+++ b/rbutil/rbutilqt/installtalkwindow.h
@@ -0,0 +1,66 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id: installtalkwindow.h 14151 2007-08-02 22:27:51Z 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 INSTALLTALKWINDOW_H
21#define INSTALLTALKWINDOW_H
22
23#include <QtGui>
24
25#include <QSettings>
26
27#include "ui_installtalkfrm.h"
28#include "progressloggergui.h"
29#include "talkfile.h"
30
31class InstallTalkWindow : public QDialog
32{
33 Q_OBJECT
34 public:
35 InstallTalkWindow(QWidget *parent = 0);
36 void setUserSettings(QSettings*);
37 void setDeviceSettings(QSettings*);
38
39 public slots:
40 void accept(void);
41
42 private slots:
43 void browseFolder(void);
44 void browseTTS(void);
45 void browseEncoder(void);
46
47 void setTalkFolder(QString folder);
48 void setTTSExec(QString path);
49 void setEncoderExec(QString path);
50
51 void setEncoderOptions(int index);
52 void setTTSOptions(int index);
53 void setEncoderOptions(QString options);
54 void setTTSOptions(QString options);
55
56 private:
57 TalkFileCreator* talkcreator;
58 Ui::InstallTalkFrm ui;
59 ProgressLoggerGui* logger;
60 QSettings *devices;
61 QSettings *userSettings;
62
63};
64
65
66#endif