|
QXmpp Version: 1.15.1
|
Classes | |
| struct | Range |
| struct | Reference |
Public Types | |
| enum | Element { Body , Subject } |
Public Member Functions | |
| QXmppFallback (const QString &forNamespace, const QVector< Reference > &references) | |
| Creates a fallback marker. | |
| const QString & | forNamespace () const |
| void | setForNamespace (const QString &) |
| const QVector< Reference > & | references () const |
| void | setReferences (const QVector< Reference > &) |
| void | toXml (QXmlStreamWriter *) const |
Static Public Member Functions | |
| static std::optional< QXmppFallback > | fromDom (const QDomElement &) |
Fallback marker for message stanzas as defined in XEP-0428: Fallback Indication.
Describes the element of the message stanza this refers to.
| const QString & QXmppFallback::forNamespace | ( | ) | const |
Returns the namespace of the XEP that this fallback marker is referring to.
|
static |
Tries to parse el into a QXmppFallback object.
| const QVector< QXmppFallback::Reference > & QXmppFallback::references | ( | ) | const |
Returns the text references of this fallback marker.
| void QXmppFallback::setForNamespace | ( | const QString & | ns | ) |
Sets the namespace of the XEP that this fallback marker is referring to.
| void QXmppFallback::setReferences | ( | const QVector< Reference > & | references | ) |
Sets the text references of this fallback marker.
| void QXmppFallback::toXml | ( | QXmlStreamWriter * | writer | ) | const |
Serializes the object to XML.