mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
add voice file installation. This also extends the ZipInstaller class a bit to handle copying the downloaded file instead of unzipping.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14256 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
965881fd85
commit
8dbc7e350b
4 changed files with 101 additions and 31 deletions
|
|
@ -41,6 +41,8 @@ public:
|
|||
void setUrl(QString url){m_url = url;}
|
||||
void setProxy(QUrl proxy) {m_proxy= proxy;}
|
||||
void setLogSection(QString name) {m_logsection = name;}
|
||||
void setUnzip(bool i) { m_unzip = i; }
|
||||
void setTarget(QString t) { m_target = t; }
|
||||
|
||||
signals:
|
||||
void done(bool error);
|
||||
|
|
@ -50,9 +52,11 @@ private slots:
|
|||
void downloadDone(bool);
|
||||
void downloadRequestFinished(int, bool);
|
||||
|
||||
private:
|
||||
private:
|
||||
QString m_url,m_file,m_mountpoint,m_logsection;
|
||||
QUrl m_proxy;
|
||||
bool m_unzip;
|
||||
QString m_target;
|
||||
|
||||
HttpGet *getter;
|
||||
QTemporaryFile downloadFile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue