libQuotient
A Qt library for building matrix clients
Loading...
Searching...
No Matches
mediathumbnailjob.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2018 Kitsune Ral <Kitsune-Ral@users.sf.net>
2// SPDX-License-Identifier: LGPL-2.1-or-later
3
4#pragma once
5
6#include "basejob.h"
7
8#include <QtGui/QPixmap>
9
10namespace Quotient {
12public:
17 std::optional<bool> animated = std::nullopt);
18
20 std::optional<bool> animated = std::nullopt);
22 std::optional<bool> animated = std::nullopt);
23
25 [[deprecated("Use thumbnail().scaled() instead")]]
27
28private:
32 std::optional<bool> animated;
34
37};
38
39inline auto collectResponse(const MediaThumbnailJob* j) { return j->thumbnail(); }
40
41} // namespace Quotient
auto collectResponse(const GetAccountDataJob *job)
#define QUOTIENT_API