diff options
Diffstat (limited to 'rbutil/rbutilqt/installbootloaderwindow.h')
-rw-r--r-- | rbutil/rbutilqt/installbootloaderwindow.h | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/installbootloaderwindow.h b/rbutil/rbutilqt/installbootloaderwindow.h new file mode 100644 index 0000000000..6baafd0bf1 --- /dev/null +++ b/rbutil/rbutilqt/installbootloaderwindow.h | |||
@@ -0,0 +1,70 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * Copyright (C) 2007 by Dominik Wenger | ||
10 | * $Id: installbootloaderwindow.h 14027 2007-07-27 17:42:49Z domonoky $ | ||
11 | * | ||
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. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | |||
20 | #ifndef INSTALLBL_H | ||
21 | #define INSTALLBL_H | ||
22 | |||
23 | #include <QtGui> | ||
24 | |||
25 | #include <QSettings> | ||
26 | |||
27 | #include "ui_installbootloaderfrm.h" | ||
28 | #include "progressloggergui.h" | ||
29 | |||
30 | #include "installbootloader.h" | ||
31 | #include "irivertools/irivertools.h" | ||
32 | |||
33 | class InstallBootloaderWindow : public QDialog | ||
34 | { | ||
35 | Q_OBJECT | ||
36 | public: | ||
37 | InstallBootloaderWindow(QWidget *parent = 0); | ||
38 | void setProxy(QUrl); | ||
39 | void setMountPoint(QString); | ||
40 | void setOFPath(QString); | ||
41 | void setUserSettings(QSettings*); | ||
42 | void setDeviceSettings(QSettings*); | ||
43 | |||
44 | public slots: | ||
45 | void accept(void); | ||
46 | |||
47 | private: | ||
48 | Ui::InstallBootloaderFrm ui; | ||
49 | ProgressLoggerGui* logger; | ||
50 | QUrl proxy; | ||
51 | QSettings *devices; | ||
52 | QSettings *userSettings; | ||
53 | QHttp *download; | ||
54 | QFile *target; | ||
55 | QString file; | ||
56 | QString fileName; | ||
57 | QString mountPoint; | ||
58 | QString m_OrigFirmware; | ||
59 | BootloaderInstaller* binstaller; | ||
60 | bool needextrafile; | ||
61 | |||
62 | private slots: | ||
63 | void browseFolder(void); | ||
64 | void browseOF(void); | ||
65 | void done(bool); | ||
66 | |||
67 | }; | ||
68 | |||
69 | |||
70 | #endif | ||