summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/install.h
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2007-07-26 21:04:55 +0000
committerDominik Wenger <domonoky@googlemail.com>2007-07-26 21:04:55 +0000
commita78d51c07c621413c68fee84f24dcc64607c4338 (patch)
treea763f93c674e7cb4625d6efbb0aa79b1716a7d56 /rbutil/rbutilqt/install.h
parent4a115d81da023fb5b9f3727cbe0aed469f369a89 (diff)
downloadrockbox-a78d51c07c621413c68fee84f24dcc64607c4338.tar.gz
rockbox-a78d51c07c621413c68fee84f24dcc64607c4338.tar.bz2
rockbox-a78d51c07c621413c68fee84f24dcc64607c4338.zip
rbutil: wrapped the rockbox installation into a class, for easy reuse.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14012 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/install.h')
-rw-r--r--rbutil/rbutilqt/install.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/rbutil/rbutilqt/install.h b/rbutil/rbutilqt/install.h
index f84b6008e2..d453378c30 100644
--- a/rbutil/rbutilqt/install.h
+++ b/rbutil/rbutilqt/install.h
@@ -7,7 +7,7 @@
* \/ \/ \/ \/ \/
*
* Copyright (C) 2007 by Dominik Riebeling
- * $Id:$
+ * $Id$
*
* All files in this archive are subject to the GNU General Public License.
* See the file COPYING in the source tree root for full license agreement.
@@ -21,13 +21,12 @@
#define INSTALL_H
#include <QtGui>
-#include <QtNetwork>
#include <QSettings>
#include "ui_installfrm.h"
#include "ui_installprogressfrm.h"
-#include "httpget.h"
+#include "installrb.h"
class Install : public QDialog
{
@@ -55,12 +54,11 @@ class Install : public QDialog
QDialog *downloadProgress;
QHttp *download;
QFile *target;
- HttpGet *getter;
QString file;
QString fileName;
QString mountPoint;
QString archived;
- QTemporaryFile downloadFile;
+ RBInstaller* installer;
private slots:
void setCached(bool);
@@ -68,9 +66,8 @@ class Install : public QDialog
void setDetailsCurrent(bool);
void setDetailsStable(bool);
void setDetailsArchived(bool);
- void updateDataReadProgress(int, int);
- void downloadDone(bool);
- void downloadRequestFinished(int, bool);
+ void done(bool);
+
};