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"
30 #include "rbsettings.h"
32 class ThemesInstallWindow
: public QDialog
37 ThemesInstallWindow(QWidget
* parent
= 0);
38 ~ThemesInstallWindow();
39 void setSettings(RbSettings
* sett
){settings
=sett
;}
40 void downloadInfo(void);
48 Ui::ThemeInstallFrm ui
;
52 QTemporaryFile themesInfo
;
53 QString
resolution(void);
55 void resizeEvent(QResizeEvent
*);
57 ProgressLoggerGui
*logger
;
58 ZipInstaller
*installer
;
65 void downloadDone(bool);
66 void downloadDone(int, bool);
67 void updateDetails(int);
68 void updateImage(bool);