Remove "daily builds" from Rockbox Utility.
[maemo-rb.git] / rbutil / rbutilqt / installwindow.h
blob67c06c1f9a3f1c19c83e47f0f905de276ca6b6a3
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Riebeling
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
21 #ifndef INSTALL_H
22 #define INSTALL_H
24 #include <QtGui>
26 #include "ui_installwindowfrm.h"
27 #include "zipinstaller.h"
28 #include "progressloggergui.h"
30 class InstallWindow : public QDialog
32 Q_OBJECT
33 public:
34 InstallWindow(QWidget *parent);
36 public slots:
37 void accept(void);
39 private:
40 Ui::InstallWindowFrm ui;
41 ProgressLoggerGui* logger;
42 QHttp *download;
43 QFile *target;
44 QString file;
45 ZipInstaller* installer;
46 QString m_backupName;
47 void resizeEvent(QResizeEvent*);
48 void changeEvent(QEvent *event);
50 void changeBackupPath(QString);
51 void updateBackupLocation(void);
53 private slots:
54 void setDetailsCurrent(bool);
55 void setDetailsStable(bool);
56 void done(bool);
57 void changeBackupPath(void);
58 void backupCheckboxChanged(int state);
63 #endif