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 ****************************************************************************/
28 #include "ui_installfrm.h"
29 #include "ui_installprogressfrm.h"
32 class Install
: public QDialog
36 Install(QWidget
*parent
= 0);
38 void setReleased(QString
);
39 void setMountPoint(QString
);
40 void setUserSettings(QSettings
*);
41 void setDeviceSettings(QSettings
*);
42 void setArchivedString(QString
);
46 // void extractBuild(bool);
50 Ui::InstallProgressFrm dp
;
54 QSettings
*userSettings
;
55 QDialog
*downloadProgress
;
63 QTemporaryFile downloadFile
;
67 void browseFolder(void);
68 void setDetailsCurrent(bool);
69 void setDetailsStable(bool);
70 void setDetailsArchived(bool);
71 void updateDataReadProgress(int, int);
72 void downloadDone(bool);
73 void downloadRequestFinished(int, bool);