1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
9 * Copyright (C) 2007 by Dominik Riebeling
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 ****************************************************************************/
20 #ifndef INSTALLTHEMES_H
21 #define INSTALLTHEMES_H
24 #include <QTemporaryFile>
26 #include "ui_installthemesfrm.h"
28 #include "installzip.h"
29 #include "progressloggergui.h"
31 class ThemesInstallWindow
: public QDialog
36 ThemesInstallWindow(QWidget
* parent
= 0);
37 void setDeviceSettings(QSettings
*);
38 void setUserSettings(QSettings
*);
40 void downloadInfo(void);
47 Ui::ThemeInstallFrm ui
;
49 QSettings
*userSettings
;
52 QTemporaryFile themesInfo
;
53 QString
resolution(void);
56 void resizeEvent(QResizeEvent
*);
58 ProgressLoggerGui
*logger
;
59 ZipInstaller
*installer
;
64 void downloadDone(bool);
65 void downloadDone(int, bool);
66 void updateDetails(int);
67 void updateImage(bool);