libQuotient
A Qt library for building matrix clients
|
A base class for info types that include duration: audio and video. More...
#include <eventcontent.h>
Public Member Functions | |
PlayableContent (const QJsonObject &json) | |
Public Member Functions inherited from Quotient::EventContent::UrlBasedContent< InfoT > | |
UrlBasedContent (const QJsonObject &json) | |
QMimeType | type () const override |
QUrl | url () const override |
FileInfo | commonInfo () const override |
Public Member Functions inherited from Quotient::EventContent::FileContentBase | |
FileContentBase (const QJsonObject &contentJson={}) | |
Public Member Functions inherited from Quotient::EventContent::Base | |
Base (QJsonObject o={}) | |
virtual | ~Base ()=default |
QJsonObject | toJson () const |
Base & | operator= (const Base &)=delete |
Base & | operator= (Base &&)=delete |
Public Attributes | |
int | duration |
Public Attributes inherited from Quotient::EventContent::FileContentBase | |
Thumbnail | thumbnail |
Public Attributes inherited from Quotient::EventContent::Base | |
QJsonObject | originalJson |
Protected Member Functions | |
QJsonObject | makeInfoJson () const override |
Protected Member Functions inherited from Quotient::EventContent::FileContentBase | |
void | fillJson (QJsonObject &json) const override |
Protected Member Functions inherited from Quotient::EventContent::Base | |
Base (const Base &)=default | |
Base (Base &&) noexcept=default | |
A base class for info types that include duration: audio and video.
Definition at line 290 of file eventcontent.h.
|
inlineexplicit |
Definition at line 293 of file eventcontent.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from Quotient::EventContent::UrlBasedContent< InfoT >.
Definition at line 298 of file eventcontent.h.
int Quotient::EventContent::PlayableContent< InfoT >::duration |
Definition at line 306 of file eventcontent.h.