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