8#include "QXmppConstants_p.h"
16class QXmlStreamReader;
17namespace QXmpp::Private {
21namespace QXmpp::Private {
24 static StreamOpen fromXml(QXmlStreamReader &reader);
25 void toXml(XmlWriter &)
const;
35struct StarttlsRequest {
36 static constexpr std::tuple XmlTag = { u
"starttls", ns_tls };
37 static std::optional<StarttlsRequest> fromDom(
const QDomElement &);
38 void toXml(XmlWriter &)
const;
41struct StarttlsProceed {
42 static constexpr std::tuple XmlTag = { u
"proceed", ns_tls };
43 static std::optional<StarttlsProceed> fromDom(
const QDomElement &);
44 void toXml(XmlWriter &)
const;
51 static constexpr std::tuple XmlTag = { u
"bind", ns_bind };
52 static std::optional<BindElement> fromDom(
const QDomElement &el);
53 void toXml(XmlWriter &w)
const;
57 static constexpr std::tuple XmlTag = { u
"active", ns_csi };
58 void toXml(XmlWriter &)
const;
62 static constexpr std::tuple XmlTag = { u
"inactive", ns_csi };
63 void toXml(XmlWriter &)
const;
68Q_DECLARE_METATYPE(QXmpp::Private::StreamOpen)