blob: 9c72114263fda943bec595986de745c4a54525cd [file] [log] [blame]
Dominik Wenger9f686702008-01-11 23:59:12 +00001/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id: installtalkwindow.h 15926 2007-12-14 19:49:11Z domonoky $
11 *
Daniel Stenberg2acc0ac2008-06-28 18:10:04 +000012 * 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.
Dominik Wenger9f686702008-01-11 23:59:12 +000016 *
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 CREATEVOICEWINDOW_H
23#define CREATEVOICEWINDOW_H
24
25#include <QtGui>
26
Dominik Wenger9f686702008-01-11 23:59:12 +000027#include "ui_createvoicefrm.h"
28#include "progressloggergui.h"
29#include "voicefile.h"
Dominik Wenger3a54c9b2008-01-25 00:12:25 +000030#include "rbsettings.h"
Dominik Wenger9f686702008-01-11 23:59:12 +000031
32class CreateVoiceWindow : public QDialog
33{
34 Q_OBJECT
35 public:
36 CreateVoiceWindow(QWidget *parent = 0);
Dominik Wenger3a54c9b2008-01-25 00:12:25 +000037 void setSettings(RbSettings* sett);
Dominik Riebelingb792c552008-03-01 13:58:18 +000038 void setProxy(QUrl proxy){m_proxy = proxy;}
Dominik Riebeling05f24a12008-03-01 13:42:14 +000039
Dominik Wenger9f686702008-01-11 23:59:12 +000040 public slots:
41 void accept(void);
42 void change(void);
Dominik Riebeling77e036a2008-03-14 18:27:39 +000043 void updateSettings(void);
44
45 signals:
Dominik Riebeling05f24a12008-03-01 13:42:14 +000046 void settingsUpdated(void);
Dominik Wenger9f686702008-01-11 23:59:12 +000047
48 private:
49 VoiceFileCreator* voicecreator;
50 Ui::CreateVoiceFrm ui;
51 ProgressLoggerGui* logger;
Dominik Wenger3a54c9b2008-01-25 00:12:25 +000052 RbSettings* settings;
Dominik Riebelingb792c552008-03-01 13:58:18 +000053 QUrl m_proxy;
Dominik Wenger9f686702008-01-11 23:59:12 +000054};
55
56#endif