5 #ifndef QXMPPSTARTTLSPACKET_H 6 #define QXMPPSTARTTLSPACKET_H 8 #include "QXmppStanza.h" 33 void setType(Type type);
36 void parse(
const QDomElement &element)
override;
37 void toXml(QXmlStreamWriter *writer)
const override;
40 [[deprecated]]
static bool isStartTlsPacket(
const QDomElement &element);
41 [[deprecated]]
static bool isStartTlsPacket(
const QDomElement &element, Type type);
49 #endif // QXMPPSTARTTLSPACKET_H Used by the server to accept STARTTLS.
Definition: QXmppStartTlsPacket.h:24
virtual void parse(const QDomElement &)=0
Invalid type.
Definition: QXmppStartTlsPacket.h:26
Used by the server to reject STARTTLS.
Definition: QXmppStartTlsPacket.h:25
Used by the client to initiate STARTTLS.
Definition: QXmppStartTlsPacket.h:23
Definition: QXmppNonza.h:13
virtual void toXml(QXmlStreamWriter *writer) const =0
Type
The type of the STARTTLS packet.
Definition: QXmppStartTlsPacket.h:22
The QXmppStartTlsPacket represents packets used for initiating STARTTLS negotiation when connecting...
Definition: QXmppStartTlsPacket.h:18