Move device and mountpoint selection to configuration to eliminate the need of asking...
[Rockbox.git] / rbutil / rbutilqt / rbutilqt.h
blobdc2207751132ad082595f60dff8fd134db5dcfbc
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 "ui_rbutilqtfrm.h"
25 #include "httpget.h"
26 #include <QSettings>
27 #include <QTemporaryFile>
29 class RbUtilQt : public QMainWindow
31 Q_OBJECT
33 public:
34 RbUtilQt(QWidget *parent = 0);
36 private:
37 Ui::RbUtilQtFrm ui;
38 QSettings *devices;
39 QSettings *userSettings;
40 void initDeviceNames(void);
41 QString deviceName(QString);
42 QString platform;
43 HttpGet *daily;
44 QString absolutePath;
45 QTemporaryFile buildInfo;
46 void updateManual(void);
48 private slots:
49 void about(void);
50 void configDialog(void);
51 void updateDevice(void);
52 void updateSettings(void);
53 void install(void);
54 void installBl(void);
55 void installFonts(void);
56 void installDoom(void);
57 void downloadDone(bool);
58 void downloadDone(int, bool);
59 void downloadInfo(void);
62 #endif