diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-09-26 13:45:29 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-09-26 13:45:29 +0200 |
commit | 271ad9e4fdb4f003abd33b59ca9cadfb5bab9823 (patch) | |
tree | f006b597a61531345b810fb5ea28f45c850fd8a4 /logic/resources/WebResourceHandler.h | |
parent | cca670013463f0062cec950d9b9bb76f9150ed93 (diff) | |
download | MultiMC-271ad9e4fdb4f003abd33b59ca9cadfb5bab9823.tar MultiMC-271ad9e4fdb4f003abd33b59ca9cadfb5bab9823.tar.gz MultiMC-271ad9e4fdb4f003abd33b59ca9cadfb5bab9823.tar.lz MultiMC-271ad9e4fdb4f003abd33b59ca9cadfb5bab9823.tar.xz MultiMC-271ad9e4fdb4f003abd33b59ca9cadfb5bab9823.zip |
GH-1072 split resource system to UI and logic parts
Diffstat (limited to 'logic/resources/WebResourceHandler.h')
-rw-r--r-- | logic/resources/WebResourceHandler.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/logic/resources/WebResourceHandler.h b/logic/resources/WebResourceHandler.h deleted file mode 100644 index 88804af3..00000000 --- a/logic/resources/WebResourceHandler.h +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#include <QObject> -#include "ResourceHandler.h" - -class NetJob; - -class WebResourceHandler : public QObject, public ResourceHandler -{ -public: - explicit WebResourceHandler(const QString &url); - -private slots: - void succeeded(); - void progress(qint64 current, qint64 total); - -private: - static QMap<QString, NetJob *> m_activeDownloads; - - QString m_url; - - void setResultFromFile(const QString &file); -}; |