Correct beast manual install instructions in Windows.
[kugel-rb.git] / rbutil / rbutilqt / rbutilqt.h
blob31bae7363001b90b7f879d75b6aa1612c0c1a7cf
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Riebeling
10 * $Id$
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
23 #ifndef QRBUTIL_H
24 #define QRBUTIL_H
26 #include <QSettings>
27 #include <QTemporaryFile>
29 #include "ui_rbutilqtfrm.h"
30 #include "httpget.h"
31 #include "zipinstaller.h"
32 #include "progressloggergui.h"
33 #include "bootloaderinstallbase.h"
35 class RbUtilQt : public QMainWindow
37 Q_OBJECT
39 public:
40 RbUtilQt(QWidget *parent = 0);
42 private:
43 Ui::RbUtilQtFrm ui;
45 void initDeviceNames(void);
46 QString deviceName(QString);
47 QString platform;
48 HttpGet *daily;
49 HttpGet *bleeding;
50 HttpGet *update;
51 QString absolutePath;
52 QTemporaryFile buildInfo;
53 QTemporaryFile bleedingInfo;
54 void updateManual(void);
55 ProgressLoggerGui *logger;
56 ZipInstaller *installer;
57 QUrl proxy(void);
58 QMap<QString, QString> versmap;
59 bool chkConfig(bool);
61 volatile bool m_installed;
62 volatile bool m_error;
63 QString m_networkerror;
64 bool m_gotInfo;
65 bool m_auto;
67 private slots:
68 void about(void);
69 void help(void);
70 void sysinfo(void);
71 void trace(void);
72 void configDialog(void);
73 void updateDevice(void);
74 void updateSettings(void);
76 void completeInstall(void);
77 void smallInstall(void);
78 bool smallInstallInner(void);
79 void installdone(bool error);
81 void installBtn(void);
82 bool installAuto(void);
83 void install(void);
85 void installBootloaderBtn(void);
86 bool installBootloaderAuto(void);
87 void installBootloader(void);
88 void installBootloaderPost(bool error);
90 void installFontsBtn(void);
91 bool installFontsAuto(void);
92 void installFonts(void);
94 bool hasDoom(void);
95 void installDoomBtn(void);
96 bool installDoomAuto(void);
97 void installDoom(void);
99 void createTalkFiles(void);
100 void createVoiceFile(void);
101 void downloadDone(bool);
102 void downloadDone(int, bool);
103 void downloadBleedingDone(bool);
104 void downloadInfo(void);
106 void installVoice(void);
107 void installThemes(void);
108 void uninstall(void);
109 void uninstallBootloader(void);
110 void downloadManual(void);
111 void installPortable(void);
112 void updateInfo(void);
113 void updateTabs(int);
115 void checkUpdate(void);
116 void downloadUpdateDone(bool errror);
117 bool newerVersion(QString versionOld,QString versionNew);
120 #endif