5#ifndef QXMPPTRUSTMESSAGEKEYOWNER_H
6#define QXMPPTRUSTMESSAGEKEYOWNER_H
8#include "QXmppGlobal.h"
10#include <QSharedDataPointer>
13class QXmlStreamWriter;
14class QXmppTrustMessageKeyOwnerPrivate;
28 void setJid(
const QString &jid);
30 QList<QByteArray> trustedKeys()
const;
31 void setTrustedKeys(
const QList<QByteArray> &keyIds);
33 QList<QByteArray> distrustedKeys()
const;
34 void setDistrustedKeys(
const QList<QByteArray> &keyIds);
37 void parse(
const QDomElement &element);
38 void toXml(QXmlStreamWriter *writer)
const;
41 static bool isTrustMessageKeyOwner(
const QDomElement &element);
44 QSharedDataPointer<QXmppTrustMessageKeyOwnerPrivate> d;
The QXmppTrustMessageKeyOwner class represents a key owner of the trust message as defined by XEP-043...
Definition QXmppTrustMessageKeyOwner.h:17
QXmppTrustMessageKeyOwner & operator=(QXmppTrustMessageKeyOwner &&)
Assignment operator.
QXmppTrustMessageKeyOwner & operator=(const QXmppTrustMessageKeyOwner &other)
Assignment operator.
QXmppTrustMessageKeyOwner(QXmppTrustMessageKeyOwner &&)
Copy constructor.
QXmppTrustMessageKeyOwner(const QXmppTrustMessageKeyOwner &other)
Copy constructor.