5#ifndef QXMPPTRUSTMESSAGEELEMENT_H
6#define QXMPPTRUSTMESSAGEELEMENT_H
8#include "QXmppGlobal.h"
10#include <QSharedDataPointer>
13class QXmlStreamWriter;
14class QXmppTrustMessageElementPrivate;
28 QString usage()
const;
29 void setUsage(
const QString &usage);
31 QString encryption()
const;
32 void setEncryption(
const QString &encryption);
34 QList<QXmppTrustMessageKeyOwner> keyOwners()
const;
35 void setKeyOwners(
const QList<QXmppTrustMessageKeyOwner> &keyOwners);
39 void parse(
const QDomElement &element);
40 void toXml(QXmlStreamWriter *writer)
const;
43 static bool isTrustMessageElement(
const QDomElement &element);
46 QSharedDataPointer<QXmppTrustMessageElementPrivate> d;
The QXmppTrustMessageElement class represents a trust message element as defined by XEP-0434: Trust M...
Definition QXmppTrustMessageElement.h:18
QXmppTrustMessageElement(QXmppTrustMessageElement &&)
Move-constructor.
QXmppTrustMessageElement(const QXmppTrustMessageElement &other)
Copy-constructor.
QXmppTrustMessageElement & operator=(QXmppTrustMessageElement &&)
Move-assignment operator.
QXmppTrustMessageElement & operator=(const QXmppTrustMessageElement &other)
Assignment operator.
The QXmppTrustMessageKeyOwner class represents a key owner of the trust message as defined by XEP-043...
Definition QXmppTrustMessageKeyOwner.h:17