mkimxboot: add partial support for the Zen X-Fi Style
[maemo-rb.git] / rbutil / rbutilqt / createvoicewindow.h
blobef7d31e67879d8ce96d38fe8708067fd6755931e
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Wenger
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
21 #ifndef CREATEVOICEWINDOW_H
22 #define CREATEVOICEWINDOW_H
24 #include <QtGui>
26 #include "ui_createvoicefrm.h"
27 #include "progressloggergui.h"
28 #include "voicefile.h"
31 class CreateVoiceWindow : public QDialog
33 Q_OBJECT
34 public:
35 CreateVoiceWindow(QWidget *parent);
36 void setProxy(QUrl proxy){m_proxy = proxy;}
38 public slots:
39 void accept(void);
40 void change(void);
41 void updateSettings(void);
42 void saveSettings(void);
44 signals:
45 void settingsUpdated(void);
47 private:
48 void changeEvent(QEvent *event);
49 VoiceFileCreator* voicecreator;
50 Ui::CreateVoiceFrm ui;
51 ProgressLoggerGui* logger;
52 QUrl m_proxy;
55 #endif