mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
rbutilQt: changed the progress/error logger, there is now an abstract interface and a progressloggergui implementation of it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14060 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c414f46971
commit
917e0acd64
16 changed files with 724 additions and 561 deletions
|
|
@ -26,7 +26,7 @@
|
|||
#include <QtGui>
|
||||
#include <QtNetwork>
|
||||
|
||||
#include "ui_installprogressfrm.h"
|
||||
#include "progressloggerinterface.h"
|
||||
#include "httpget.h"
|
||||
|
||||
class ZipInstaller : public QObject
|
||||
|
|
@ -35,7 +35,7 @@ class ZipInstaller : public QObject
|
|||
public:
|
||||
ZipInstaller(QObject* parent) ;
|
||||
~ZipInstaller(){}
|
||||
void install(Ui::InstallProgressFrm* dp);
|
||||
void install(ProgressloggerInterface* dp);
|
||||
void setMountPoint(QString mountpoint) {m_mountpoint = mountpoint;}
|
||||
void setFilename(QString filename){m_file = filename;}
|
||||
void setUrl(QString url){m_url = url;}
|
||||
|
|
@ -57,7 +57,7 @@ private:
|
|||
HttpGet *getter;
|
||||
QTemporaryFile downloadFile;
|
||||
|
||||
Ui::InstallProgressFrm* m_dp;
|
||||
ProgressloggerInterface* m_dp;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue