libQuotient
A Qt library for building matrix clients
|
The base for all file-based content classes. More...
#include <eventcontent.h>
Public Member Functions | |
FileContentBase (const QJsonObject &contentJson={}) | |
virtual QUrl | url () const =0 |
virtual FileInfo | commonInfo () const =0 |
Public Member Functions inherited from Quotient::EventContent::Base | |
Base (QJsonObject o={}) | |
virtual | ~Base ()=default |
QJsonObject | toJson () const |
virtual QMimeType | type () const =0 |
Base & | operator= (const Base &)=delete |
Base & | operator= (Base &&)=delete |
Public Attributes | |
Thumbnail | thumbnail |
Public Attributes inherited from Quotient::EventContent::Base | |
QJsonObject | originalJson |
Protected Member Functions | |
virtual QJsonObject | makeInfoJson () const =0 |
void | fillJson (QJsonObject &json) const override |
Protected Member Functions inherited from Quotient::EventContent::Base | |
Base (const Base &)=default | |
Base (Base &&) noexcept=default | |
The base for all file-based content classes.
Definition at line 156 of file eventcontent.h.
|
inlineexplicit |
Definition at line 158 of file eventcontent.h.
Implemented in Quotient::EventContent::UrlBasedContent< InfoT >.
|
inlineoverrideprotectedvirtual |
Implements Quotient::EventContent::Base.
Definition at line 169 of file eventcontent.h.
|
protectedpure virtual |
|
pure virtual |
Implemented in Quotient::EventContent::UrlBasedContent< InfoT >.
Thumbnail Quotient::EventContent::FileContentBase::thumbnail |
Definition at line 164 of file eventcontent.h.