5 #ifndef QXMPPFALLBACK_H 6 #define QXMPPFALLBACK_H 8 #include "QXmppGlobal.h" 12 #include <QSharedDataPointer> 15 class QXmlStreamWriter;
17 struct 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;
57 #endif // QXMPPFALLBACK_H Definition: QXmppFallback.h:27
Element element
Element of the message stanza this refers to.
Definition: QXmppFallback.h:36
Element
Definition: QXmppFallback.h:22
Definition: QXmppFallback.h:34
std::optional< Range > range
Optional character range in the text.
Definition: QXmppFallback.h:38
uint32_t end
End index of the range.
Definition: QXmppFallback.h:31
Definition: QXmppFallback.h:19
uint32_t start
Start index of the range.
Definition: QXmppFallback.h:29