Make gui_syncquickscreen_run() static as it's not used anywhere.
[kugel-rb/myfork.git] / rbutil / rbutilqt / rbutilqt.h
blob10bef6e8b8852c9141974abab7c0480661d9e282
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 QString absolutePath;
51 QTemporaryFile buildInfo;
52 QTemporaryFile bleedingInfo;
53 void updateManual(void);
54 ProgressLoggerGui *logger;
55 ZipInstaller *installer;
56 QUrl proxy(void);
57 QMap<QString, QString> versmap;
58 bool chkConfig(bool);
60 volatile bool m_installed;
61 volatile bool m_error;
62 QString m_networkerror;
63 bool m_gotInfo;
64 bool m_auto;
66 private slots:
67 void about(void);
68 void help(void);
69 void sysinfo(void);
70 void configDialog(void);
71 void updateDevice(void);
72 void updateSettings(void);
74 void completeInstall(void);
75 void smallInstall(void);
76 bool smallInstallInner(void);
77 void installdone(bool error);
79 void installBtn(void);
80 bool installAuto(void);
81 void install(void);
83 void installBootloaderBtn(void);
84 bool installBootloaderAuto(void);
85 void installBootloader(void);
86 void installBootloaderPost(bool error);
88 void installFontsBtn(void);
89 bool installFontsAuto(void);
90 void installFonts(void);
92 bool hasDoom(void);
93 void installDoomBtn(void);
94 bool installDoomAuto(void);
95 void installDoom(void);
97 void createTalkFiles(void);
98 void createVoiceFile(void);
99 void downloadDone(bool);
100 void downloadDone(int, bool);
101 void downloadBleedingDone(bool);
102 void downloadInfo(void);
104 void installVoice(void);
105 void installThemes(void);
106 void uninstall(void);
107 void uninstallBootloader(void);
108 void downloadManual(void);
109 void installPortable(void);
110 void updateInfo(void);
111 void updateTabs(int);
114 #endif