Fallback marker for message stanzas as defined in XEP-0428: Fallback Indication.
- See also
- QXmppFallback
- Since
- QXmpp 1.7
◆ Element
Describes the element of the message stanza this refers to.
◆ forNamespace()
const QString & QXmppFallback::forNamespace |
( |
| ) |
const |
Returns the namespace of the XEP that this fallback marker is referring to.
◆ fromDom()
std::optional< QXmppFallback > QXmppFallback::fromDom |
( |
const QDomElement & |
el | ) |
|
|
static |
Tries to parse el into a QXmppFallback object.
- Returns
- Empty optional on failure, parsed object otherwise.
◆ references()
Returns the text references of this fallback marker.
◆ setForNamespace()
void QXmppFallback::setForNamespace |
( |
const QString & |
ns | ) |
|
Sets the namespace of the XEP that this fallback marker is referring to.
◆ setReferences()
void QXmppFallback::setReferences |
( |
const QVector< Reference > & |
references | ) |
|
Sets the text references of this fallback marker.
◆ toXml()
void QXmppFallback::toXml |
( |
QXmlStreamWriter * |
writer | ) |
const |
Serializes the object to XML.
The documentation for this class was generated from the following files: