![]() |
libQuotient
A Qt library for building matrix clients
|
Content class for m.location. More...
#include <eventcontent.h>


Public Member Functions | |
| LocationContent (const QString &geoUri, const Thumbnail &thumbnail={}) | |
| LocationContent (const QJsonObject &json) | |
| QMimeType | type () const override |
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 | |
| QString | geoUri |
| Thumbnail | thumbnail |
Public Attributes inherited from Quotient::EventContent::Base | |
| QJsonObject | originalJson |
Protected Member Functions | |
| void | fillJson (QJsonObject &o) const override |
Protected Member Functions inherited from Quotient::EventContent::Base | |
| Base (const Base &)=delete | |
| Base (Base &&) noexcept=default | |
Content class for m.location.
Available fields:
Definition at line 210 of file eventcontent.h.
| Quotient::EventContent::LocationContent::LocationContent | ( | const QString & | geoUri, |
| const Thumbnail & | thumbnail = {} |
||
| ) |
|
explicit |
|
overrideprotectedvirtual |
Implements Quotient::EventContent::Base.
|
overridevirtual |
Implements Quotient::EventContent::Base.
| QString Quotient::EventContent::LocationContent::geoUri |
Definition at line 218 of file eventcontent.h.
| Thumbnail Quotient::EventContent::LocationContent::thumbnail |
Definition at line 219 of file eventcontent.h.