oops, forgot to commit the icon files.
[Rockbox.git] / rbutil / rbutilqt / installzipwindow.h
blob1eb96b745ffabf93fa7f838dec0d3cc6538e8f3c
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id: installzipwindow.h 14027 2007-07-27 17:42:49Z 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 INSTALLZIPWINDOW_H
21 #define INSTALLZIPWINDOW_H
23 #include <QtGui>
25 #include <QSettings>
27 #include "ui_installzipfrm.h"
28 #include "installzip.h"
29 #include "progressloggergui.h"
31 class InstallZipWindow : public QDialog
33 Q_OBJECT
34 public:
35 InstallZipWindow(QWidget *parent = 0);
36 void setProxy(QUrl);
37 void setMountPoint(QString);
38 void setUrl(QString);
39 void setLogSection(QString name){logsection = name; }
40 void setUserSettings(QSettings*);
41 void setDeviceSettings(QSettings*);
43 public slots:
44 void accept(void);
46 private:
47 Ui::InstallZipFrm ui;
48 QUrl proxy;
49 QSettings *devices;
50 QSettings *userSettings;
51 ProgressLoggerGui* logger;
52 QString file;
53 QString fileName;
54 QString mountPoint;
55 QString url;
56 QString logsection;
57 ZipInstaller* installer;
59 private slots:
60 void browseFolder(void);
61 void done(bool);
66 #endif