simplify setting of proxy value.
[Rockbox.git] / rbutil / rbutilqt / rbutilqt.h
blob1a6dda8259b2a213832d47b702c235ec8aeffae3
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 ****************************************************************************/
21 #ifndef QRBUTIL_H
22 #define QRBUTIL_H
24 #include <QSettings>
25 #include <QTemporaryFile>
27 #include "ui_rbutilqtfrm.h"
28 #include "httpget.h"
29 #include "installzip.h"
30 #include "progressloggergui.h"
31 #include "installbootloader.h"
33 class RbUtilQt : public QMainWindow
35 Q_OBJECT
37 public:
38 RbUtilQt(QWidget *parent = 0);
40 private:
41 Ui::RbUtilQtFrm ui;
42 QSettings *devices;
43 QSettings *userSettings;
44 void initDeviceNames(void);
45 QString deviceName(QString);
46 QString platform;
47 HttpGet *daily;
48 QString absolutePath;
49 QTemporaryFile buildInfo;
50 void updateManual(void);
51 ProgressLoggerGui *logger;
52 ZipInstaller *installer;
53 BootloaderInstaller* blinstaller;
54 QUrl proxy(void);
56 private slots:
57 void about(void);
58 void configDialog(void);
59 void updateDevice(void);
60 void updateSettings(void);
61 void install(void);
62 void installBl(void);
63 void installFonts(void);
64 void installDoom(void);
65 void createTalkFiles(void);
66 void downloadDone(bool);
67 void downloadDone(int, bool);
68 void downloadInfo(void);
69 void installVoice(void);
70 void installThemes(void);
71 void uninstall(void);
72 void uninstallBootloader(void);
73 void downloadManual(void);
74 void installPortable(void);
77 #endif