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

#include <protocol.h>

Public Attributes

QStringList userFields
 
QStringList locationFields
 
QString icon
 A content URI representing an icon for the third-party protocol. More...
 
QHash< QString, FieldTypefieldTypes
 
QVector< ProtocolInstanceinstances
 

Detailed Description

Definition at line 66 of file protocol.h.

Member Data Documentation

◆ fieldTypes

QHash<QString, FieldType> Quotient::ThirdPartyProtocol::fieldTypes

The type definitions for the fields defined in user_fields and location_fields. Each entry in those arrays MUST have an entry here. The string key for this object is the field name itself.

May be an empty object if no fields are defined.

Definition at line 87 of file protocol.h.

◆ icon

QString Quotient::ThirdPartyProtocol::icon

A content URI representing an icon for the third-party protocol.

Definition at line 80 of file protocol.h.

◆ instances

QVector<ProtocolInstance> Quotient::ThirdPartyProtocol::instances

A list of objects representing independent instances of configuration. For example, multiple networks on IRC if multiple are provided by the same application service.

Definition at line 92 of file protocol.h.

◆ locationFields

QStringList Quotient::ThirdPartyProtocol::locationFields

Fields which may be used to identify a third-party location. These should be ordered to suggest the way that entities may be grouped, where higher groupings are ordered first. For example, the name of a network should be searched before the name of a channel.

Definition at line 77 of file protocol.h.

◆ userFields

QStringList Quotient::ThirdPartyProtocol::userFields

Fields which may be used to identify a third-party user. These should be ordered to suggest the way that entities may be grouped, where higher groupings are ordered first. For example, the name of a network should be searched before the nickname of a user.

Definition at line 71 of file protocol.h.


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