5 #ifndef QXMPPTRUSTMESSAGEKEYOWNER_H 6 #define QXMPPTRUSTMESSAGEKEYOWNER_H 8 #include "QXmppGlobal.h" 10 #include <QSharedDataPointer> 13 class QXmlStreamWriter;
14 class 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;
49 #endif // QXMPPTRUSTMESSAGEKEYOWNER_H The QXmppTrustMessageKeyOwner class represents a key owner of the trust message as defined by XEP-043...
Definition: QXmppTrustMessageKeyOwner.h:16