Remove .a files before running ar, to avoid problems with renamed files remaining...
[kugel-rb.git] / rbutil / rbutilqt / install.h
blob0df0f03499c967789d12053b55e99bdf73b936bf
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Riebeling
10 * $Id$
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #ifndef INSTALL_H
23 #define INSTALL_H
25 #include <QtGui>
27 #include "ui_installfrm.h"
28 #include "installzip.h"
29 #include "progressloggergui.h"
30 #include "rbsettings.h"
32 class Install : public QDialog
34 Q_OBJECT
35 public:
36 Install(RbSettings* sett,QWidget *parent = 0);
37 void setVersionStrings(QMap<QString, QString>);
39 public slots:
40 void accept(void);
42 private:
43 Ui::InstallFrm ui;
44 ProgressLoggerGui* logger;
45 RbSettings* settings;
46 QHttp *download;
47 QFile *target;
48 QString file;
49 QString fileName;
50 ZipInstaller* installer;
51 QMap<QString, QString> version;
52 QString m_backupName;
54 void changeBackupPath(QString);
56 private slots:
57 void setCached(bool);
58 void setDetailsCurrent(bool);
59 void setDetailsStable(bool);
60 void setDetailsArchived(bool);
61 void done(bool);
62 void changeBackupPath(void);
63 void backupCheckboxChanged(int state);
68 #endif