Dominik Wenger | 9f68670 | 2008-01-11 23:59:12 +0000 | [diff] [blame] | 1 | /*************************************************************************** |
| 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 Stenberg | 2acc0ac | 2008-06-28 18:10:04 +0000 | [diff] [blame^] | 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. |
Dominik Wenger | 9f68670 | 2008-01-11 23:59:12 +0000 | [diff] [blame] | 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 CREATEVOICEWINDOW_H |
| 23 | #define CREATEVOICEWINDOW_H |
| 24 | |
| 25 | #include <QtGui> |
| 26 | |
Dominik Wenger | 9f68670 | 2008-01-11 23:59:12 +0000 | [diff] [blame] | 27 | #include "ui_createvoicefrm.h" |
| 28 | #include "progressloggergui.h" |
| 29 | #include "voicefile.h" |
Dominik Wenger | 3a54c9b | 2008-01-25 00:12:25 +0000 | [diff] [blame] | 30 | #include "rbsettings.h" |
Dominik Wenger | 9f68670 | 2008-01-11 23:59:12 +0000 | [diff] [blame] | 31 | |
| 32 | class CreateVoiceWindow : public QDialog |
| 33 | { |
| 34 | Q_OBJECT |
| 35 | public: |
| 36 | CreateVoiceWindow(QWidget *parent = 0); |
Dominik Wenger | 3a54c9b | 2008-01-25 00:12:25 +0000 | [diff] [blame] | 37 | void setSettings(RbSettings* sett); |
Dominik Riebeling | b792c55 | 2008-03-01 13:58:18 +0000 | [diff] [blame] | 38 | void setProxy(QUrl proxy){m_proxy = proxy;} |
Dominik Riebeling | 05f24a1 | 2008-03-01 13:42:14 +0000 | [diff] [blame] | 39 | |
Dominik Wenger | 9f68670 | 2008-01-11 23:59:12 +0000 | [diff] [blame] | 40 | public slots: |
| 41 | void accept(void); |
| 42 | void change(void); |
Dominik Riebeling | 77e036a | 2008-03-14 18:27:39 +0000 | [diff] [blame] | 43 | void updateSettings(void); |
| 44 | |
| 45 | signals: |
Dominik Riebeling | 05f24a1 | 2008-03-01 13:42:14 +0000 | [diff] [blame] | 46 | void settingsUpdated(void); |
Dominik Wenger | 9f68670 | 2008-01-11 23:59:12 +0000 | [diff] [blame] | 47 | |
| 48 | private: |
| 49 | VoiceFileCreator* voicecreator; |
| 50 | Ui::CreateVoiceFrm ui; |
| 51 | ProgressLoggerGui* logger; |
Dominik Wenger | 3a54c9b | 2008-01-25 00:12:25 +0000 | [diff] [blame] | 52 | RbSettings* settings; |
Dominik Riebeling | b792c55 | 2008-03-01 13:58:18 +0000 | [diff] [blame] | 53 | QUrl m_proxy; |
Dominik Wenger | 9f68670 | 2008-01-11 23:59:12 +0000 | [diff] [blame] | 54 | }; |
| 55 | |
| 56 | #endif |