summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/rbutilqt.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.h')
-rw-r--r--rbutil/rbutilqt/rbutilqt.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.h b/rbutil/rbutilqt/rbutilqt.h
new file mode 100644
index 0000000000..89a3610fba
--- /dev/null
+++ b/rbutil/rbutilqt/rbutilqt.h
@@ -0,0 +1,58 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2007 by Dominik Riebeling
10 * $Id:$
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
21#ifndef QRBUTIL_H
22#define QRBUTIL_H
23
24#include "ui_rbutilqtfrm.h"
25#include "httpget.h"
26#include <QSettings>
27#include <QTemporaryFile>
28
29
30class RbUtilQt : public QMainWindow
31{
32 Q_OBJECT
33
34 public:
35 RbUtilQt(QWidget *parent = 0);
36
37 private:
38 Ui::RbUtilQtFrm ui;
39 QSettings *devices;
40 QSettings *userSettings;
41 void initDeviceNames(void);
42 QString deviceName(QString);
43 QString platform;
44 HttpGet *daily;
45 QString absolutePath;
46 QTemporaryFile buildInfo;
47
48 private slots:
49 void about(void);
50 void configDialog(void);
51 void updateDevice(int);
52 void install(void);
53 void downloadDone(bool);
54 void downloadDone(int, bool);
55 void downloadInfo(void);
56};
57
58#endif