![]() |
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::UrlBasedContent< InfoT > | |
| 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 &)=delete | |
| 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 |
Implements Quotient::EventContent::FileContentBase.
Definition at line 298 of file eventcontent.h.
| int Quotient::EventContent::PlayableContent< InfoT >::duration |
Definition at line 306 of file eventcontent.h.