aboutsummaryrefslogtreecommitdiff
path: root/jobs/mediathumbnailjob.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/mediathumbnailjob.h')
-rw-r--r--jobs/mediathumbnailjob.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/jobs/mediathumbnailjob.h b/jobs/mediathumbnailjob.h
index 186da829..292e7f14 100644
--- a/jobs/mediathumbnailjob.h
+++ b/jobs/mediathumbnailjob.h
@@ -29,11 +29,11 @@ namespace QMatrixClient
class MediaThumbnailJob: public BaseJob
{
public:
- MediaThumbnailJob(const ConnectionData* data, QUrl url, QSize requestedSize,
- ThumbnailType thumbnailType=ThumbnailType::Scale);
+ MediaThumbnailJob(QUrl url, QSize requestedSize,
+ ThumbnailType thumbnailType = ThumbnailType::Scale);
- QPixmap thumbnail();
- QPixmap scaledThumbnail(QSize toSize);
+ QPixmap thumbnail() const;
+ QPixmap scaledThumbnail(QSize toSize) const;
protected:
Status parseReply(QByteArray data) override;
@@ -41,4 +41,4 @@ namespace QMatrixClient
private:
QPixmap pixmap;
};
-}
+} // namespace QMatrixClient