![]() |
libQuotient
A Qt library for building matrix clients
|
#include "filesourceinfo.h"#include <QtCore/QJsonObject>#include <QtCore/QMetaType>#include <QtCore/QMimeType>#include <QtCore/QSize>#include <QtCore/QUrl>

Go to the source code of this file.
Classes | |
| class | Quotient::EventContent::Base |
| Base for all content types that can be stored in RoomMessageEvent. More... | |
| struct | Quotient::EventContent::FileInfo |
Mix-in class representing info subobject in content JSON. More... | |
| struct | Quotient::EventContent::ImageInfo |
| A content info class for image/video content types and thumbnails. More... | |
| struct | Quotient::EventContent::Thumbnail |
| An auxiliary class for an info type that carries a thumbnail. More... | |
| class | Quotient::EventContent::FileContentBase |
| The base for all file-based content classes. More... | |
| class | Quotient::EventContent::TextContent |
| Rich text content for m.text, m.emote, m.notice. More... | |
| class | Quotient::EventContent::LocationContent |
| Content class for m.location. More... | |
| class | Quotient::EventContent::UrlBasedContent< InfoT > |
| A template class for content types with a URL and additional info. More... | |
| class | Quotient::EventContent::PlayableContent< InfoT > |
| A base class for info types that include duration: audio and video. More... | |
Namespaces | |
| namespace | Quotient |
| namespace | Quotient::EventContent |
Typedefs | |
| using | Quotient::EventContent::ImageContent = UrlBasedContent< ImageInfo > |
| Content class for m.image. | |
| using | Quotient::EventContent::FileContent = UrlBasedContent< FileInfo > |
| Content class for m.file. | |
| using | Quotient::EventContent::VideoContent = PlayableContent< ImageInfo > |
| Content class for m.video. | |
| using | Quotient::EventContent::AudioContent = PlayableContent< FileInfo > |
| Content class for m.audio. | |
Functions | |
| QUOTIENT_API QJsonObject | Quotient::EventContent::toInfoJson (const FileInfo &info) |
| QUOTIENT_API QJsonObject | Quotient::EventContent::toInfoJson (const ImageInfo &info) |
Variables | |
| constexpr auto | Quotient::BodyKey = "body"_L1 |
| constexpr auto | Quotient::FormatKey = "format"_L1 |
| constexpr auto | Quotient::FormattedBodyKey = "formatted_body"_L1 |
| constexpr auto | Quotient::HtmlContentTypeId = "org.matrix.custom.html"_L1 |
| constexpr auto | Quotient::InfoKey = "info"_L1 |