8#include "QXmppConstants_p.h"
16class QXmlStreamReader;
17namespace QXmpp::Private {
21namespace QXmpp::Private {
24 static StreamOpen fromXml(QXmlStreamReader &reader);
25 void toXml(XmlWriter &)
const;
34struct StarttlsRequest {
35 static constexpr std::tuple XmlTag = { u
"starttls", ns_tls };
36 static std::optional<StarttlsRequest> fromDom(
const QDomElement &);
37 void toXml(XmlWriter &)
const;
40struct StarttlsProceed {
41 static constexpr std::tuple XmlTag = { u
"proceed", ns_tls };
42 static std::optional<StarttlsProceed> fromDom(
const QDomElement &);
43 void toXml(XmlWriter &)
const;
47 static constexpr std::tuple XmlTag = { u
"active", ns_csi };
48 void toXml(XmlWriter &)
const;
52 static constexpr std::tuple XmlTag = { u
"inactive", ns_csi };
53 void toXml(XmlWriter &)
const;
58Q_DECLARE_METATYPE(QXmpp::Private::StreamOpen)