When applying the system proxy values really use the values.
[Rockbox.git] / rbutil / rbutilqt / install.h
blob4d102a0e65f05d781ad7490facf4dd5765fa53a0
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Riebeling
10 * $Id$
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 INSTALL_H
21 #define INSTALL_H
23 #include <QtGui>
25 #include "ui_installfrm.h"
26 #include "installzip.h"
27 #include "progressloggergui.h"
28 #include "rbsettings.h"
30 class Install : public QDialog
32 Q_OBJECT
33 public:
34 Install(QWidget *parent = 0);
35 void setProxy(QUrl);
36 void setSettings(RbSettings* sett);
37 void setVersionStrings(QMap<QString, QString>);
39 public slots:
40 void accept(void);
42 private:
43 Ui::InstallFrm ui;
44 ProgressLoggerGui* logger;
45 QUrl proxy;
46 RbSettings* settings;
47 QHttp *download;
48 QFile *target;
49 QString file;
50 QString fileName;
51 ZipInstaller* installer;
52 QMap<QString, QString> version;
54 private slots:
55 void setCached(bool);
56 void setDetailsCurrent(bool);
57 void setDetailsStable(bool);
58 void setDetailsArchived(bool);
59 void done(bool);
64 #endif