add global proxy / cache settings to httpget class. This removes the need of passing...
[Rockbox.git] / rbutil / rbutilqt / install.h
blobdb4c06ced4f1ede554bf7b2f7f8614da148eaade
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 setSettings(RbSettings* sett);
36 void setVersionStrings(QMap<QString, QString>);
38 public slots:
39 void accept(void);
41 private:
42 Ui::InstallFrm ui;
43 ProgressLoggerGui* logger;
44 RbSettings* settings;
45 QHttp *download;
46 QFile *target;
47 QString file;
48 QString fileName;
49 ZipInstaller* installer;
50 QMap<QString, QString> version;
52 private slots:
53 void setCached(bool);
54 void setDetailsCurrent(bool);
55 void setDetailsStable(bool);
56 void setDetailsArchived(bool);
57 void done(bool);
62 #endif