libQuotient
A Qt library for building matrix clients
Quotient::EventRelation Struct Reference

#include <eventrelation.h>

Public Types

using reltypeid_t = QLatin1String
 

Static Public Member Functions

static EventRelation replyTo (QString eventId)
 
static EventRelation annotate (QString eventId, QString key)
 
static EventRelation replace (QString eventId)
 

Public Attributes

QString type
 
QString eventId
 
QString key = {}
 

Static Public Attributes

static constexpr auto ReplyType = "m.in_reply_to"_ls
 
static constexpr auto AnnotationType = "m.annotation"_ls
 
static constexpr auto ReplacementType = "m.replace"_ls
 

Detailed Description

Definition at line 13 of file eventrelation.h.

Member Typedef Documentation

◆ reltypeid_t

using Quotient::EventRelation::reltypeid_t = QLatin1String

Definition at line 14 of file eventrelation.h.

Member Function Documentation

◆ annotate()

static EventRelation Quotient::EventRelation::annotate ( QString  eventId,
QString  key 
)
inlinestatic

Definition at line 28 of file eventrelation.h.

◆ replace()

static EventRelation Quotient::EventRelation::replace ( QString  eventId)
inlinestatic

Definition at line 32 of file eventrelation.h.

◆ replyTo()

static EventRelation Quotient::EventRelation::replyTo ( QString  eventId)
inlinestatic

Definition at line 24 of file eventrelation.h.

Member Data Documentation

◆ AnnotationType

constexpr auto Quotient::EventRelation::AnnotationType = "m.annotation"_ls
staticconstexpr

Definition at line 21 of file eventrelation.h.

◆ eventId

QString Quotient::EventRelation::eventId

Definition at line 17 of file eventrelation.h.

◆ key

QString Quotient::EventRelation::key = {}

Definition at line 18 of file eventrelation.h.

◆ ReplacementType

constexpr auto Quotient::EventRelation::ReplacementType = "m.replace"_ls
staticconstexpr

Definition at line 22 of file eventrelation.h.

◆ ReplyType

constexpr auto Quotient::EventRelation::ReplyType = "m.in_reply_to"_ls
staticconstexpr

Definition at line 20 of file eventrelation.h.

◆ type

QString Quotient::EventRelation::type

Definition at line 16 of file eventrelation.h.


The documentation for this struct was generated from the following file: