24 #ifndef QXMPPSTARTTLSPACKET_H
25 #define QXMPPSTARTTLSPACKET_H
27 #include "QXmppStanza.h"
49 void setType(Type type);
52 void parse(
const QDomElement &element)
override;
53 void toXml(QXmlStreamWriter *writer)
const override;
56 static bool isStartTlsPacket(
const QDomElement &element);
57 static bool isStartTlsPacket(
const QDomElement &element, Type type);
65 #endif // QXMPPSTARTTLSPACKET_H
The QXmppStartTlsPacket represents packets used for initiating STARTTLS negotiation when connecting.
Definition: QXmppStartTlsPacket.h:35
@ StartTls
Used by the client to initiate STARTTLS.
Definition: QXmppStartTlsPacket.h:40
Type
The type of the STARTTLS packet.
Definition: QXmppStartTlsPacket.h:39
The QXmppStanza class is the base class for all XMPP stanzas.
Definition: QXmppStanza.h:99
@ Proceed
Used by the server to accept STARTTLS.
Definition: QXmppStartTlsPacket.h:41