QXmppOmemoIq Class

The QXmppOmemoIq class represents an encrypted IQ stanza as defined by XEP-0384: OMEMO Encryption and XEP-0420: Stanza Content Encryption (SCE). More...

Header: #include <QXmppOmemoIq>
Inherits: QXmppIq

Public Functions

QXmppOmemoElement omemoElement()
void setOmemoElement(const QXmppOmemoElement &omemoElement)

Static Public Members

bool isOmemoIq(const QDomElement &element)

Detailed Description

Member Function Documentation

[static] bool QXmppOmemoIq::isOmemoIq(const QDomElement &element)

Determines whether the given DOM element is an OMEMO IQ stanza.

Returns true if element is an OMEMO IQ stanza, otherwise false.

QXmppOmemoElement QXmppOmemoIq::omemoElement()

Returns the OMEMO element which contains the data used by OMEMO.

See also setOmemoElement().

void QXmppOmemoIq::setOmemoElement(const QXmppOmemoElement &omemoElement)

Sets the OMEMO element omemoElement which contains the data used by OMEMO.

See also omemoElement().