8#include "QXmppGlobal.h"
12#include <QSharedDataPointer>
15class QXmlStreamWriter;
17struct QXmppFallbackPrivate;
41 QXmppFallback(
const QString &forNamespace,
const QVector<Reference> &references);
44 const QString &forNamespace()
const;
45 void setForNamespace(
const QString &);
47 const QVector<Reference> &references()
const;
48 void setReferences(
const QVector<Reference> &);
50 static std::optional<QXmppFallback> fromDom(
const QDomElement &);
51 void toXml(QXmlStreamWriter *)
const;
54 QSharedDataPointer<QXmppFallbackPrivate> d;
Definition: QXmppFallback.h:20
Element
Definition: QXmppFallback.h:22
Definition: QXmppFallback.h:27
uint32_t start
Start index of the range.
Definition: QXmppFallback.h:29
uint32_t end
End index of the range.
Definition: QXmppFallback.h:31
Definition: QXmppFallback.h:34
Element element
Element of the message stanza this refers to.
Definition: QXmppFallback.h:36
std::optional< Range > range
Optional character range in the text.
Definition: QXmppFallback.h:38