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-12 23:15:01 +0900 |
commit | 0199c963de5a46a6526389829e210f5c68226911 (patch) | |
tree | 3c8f7dfc57bbaa96fd794eb3f59d2af03af44813 /jobs/mediathumbnailjob.h | |
parent | 93cb0e5897cc94d8cc691bbe62f5b0093dd0a00f (diff) | |
download | libquotient-0199c963de5a46a6526389829e210f5c68226911.tar.gz libquotient-0199c963de5a46a6526389829e210f5c68226911.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; |