diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-12 22:01:26 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-14 00:18:56 +0900 |
commit | 71b9445d7f696cdfabaf05ec7d26a52891dea873 (patch) | |
tree | 100758b67912006f3f52e2061c313d9b6041e500 /jobs/mediathumbnailjob.h | |
parent | f5b4c73ee571121f7b7505f03d9b1da7036aff32 (diff) | |
download | libquotient-71b9445d7f696cdfabaf05ec7d26a52891dea873.tar.gz libquotient-71b9445d7f696cdfabaf05ec7d26a52891dea873.zip |
BaseJob::Data -> RequestData; support QIODevice* input/output
Diffstat (limited to 'jobs/mediathumbnailjob.h')
-rw-r--r-- | jobs/mediathumbnailjob.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jobs/mediathumbnailjob.h b/jobs/mediathumbnailjob.h index 66960b75..ef834cd7 100644 --- a/jobs/mediathumbnailjob.h +++ b/jobs/mediathumbnailjob.h @@ -27,7 +27,9 @@ namespace QMatrixClient class MediaThumbnailJob: public GetContentThumbnailJob { public: - MediaThumbnailJob(QUrl url, QSize requestedSize); + MediaThumbnailJob(const QString& serverName, const QString& mediaId, + QSize requestedSize); + MediaThumbnailJob(const QUrl& mxcUri, QSize requestedSize); QImage thumbnail() const; QImage scaledThumbnail(QSize toSize) const; |