Piddle-farting with 1.6 instances. Now with more json!

This commit is contained in:
Petr Mrázek
2013-07-09 00:52:03 +02:00
parent ee5583251d
commit dd86061f0f
4 changed files with 50 additions and 26 deletions

View File

@@ -5,13 +5,16 @@
/**
* A single file for the downloader/cache to process.
*/
class DownloadJob : public Job
class LIBUTIL_EXPORT DownloadJob : public Job
{
Q_OBJECT
public:
DownloadJob(QUrl url, QString rel_target_path = QString(), QString expected_md5 = QString());
static JobPtr create(QUrl url, QString rel_target_path = QString(), QString expected_md5 = QString());
public:
static bool ensurePathExists(QString filenamepath);
public slots:
virtual void start();