Make addItem() a slot to be able adding items using a signal.
[Rockbox.git] / rbutil / rbutilqt / createvoicewindow.h
bloba4aa656bf25bc1c64aa54647e9be7031d64db84a
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id: installtalkwindow.h 15926 2007-12-14 19:49:11Z domonoky $
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.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef CREATEVOICEWINDOW_H
21 #define CREATEVOICEWINDOW_H
23 #include <QtGui>
25 #include "ui_createvoicefrm.h"
26 #include "progressloggergui.h"
27 #include "voicefile.h"
28 #include "rbsettings.h"
30 class CreateVoiceWindow : public QDialog
32 Q_OBJECT
33 public:
34 CreateVoiceWindow(QWidget *parent = 0);
35 void setSettings(RbSettings* sett);
36 void setProxy(QUrl proxy){m_proxy = proxy;}
38 public slots:
39 void accept(void);
40 void change(void);
41 void updateSettings(void);
43 signals:
44 void settingsUpdated(void);
46 private:
47 VoiceFileCreator* voicecreator;
48 Ui::CreateVoiceFrm ui;
49 ProgressLoggerGui* logger;
50 RbSettings* settings;
51 QUrl m_proxy;
54 #endif