|
QXmpp Version: 1.15.1
|
The QXmppTrustMessageKeyOwner class represents a key owner of the trust message as defined by XEP-0434: Trust Messages (TM). More...
Public Member Functions | |
| QXmppTrustMessageKeyOwner () | |
| QXmppTrustMessageKeyOwner (const QXmppTrustMessageKeyOwner &other) | |
| Copy constructor. | |
| QXmppTrustMessageKeyOwner (QXmppTrustMessageKeyOwner &&) | |
| Copy constructor. | |
| QXmppTrustMessageKeyOwner & | operator= (const QXmppTrustMessageKeyOwner &other) |
| Assignment operator. | |
| QXmppTrustMessageKeyOwner & | operator= (QXmppTrustMessageKeyOwner &&) |
| Assignment operator. | |
| QString | jid () const |
| void | setJid (const QString &jid) |
| QList< QByteArray > | trustedKeys () const |
| void | setTrustedKeys (const QList< QByteArray > &keyIds) |
| QList< QByteArray > | distrustedKeys () const |
| void | setDistrustedKeys (const QList< QByteArray > &keyIds) |
Static Public Member Functions | |
| static bool | isTrustMessageKeyOwner (const QDomElement &element) |
The QXmppTrustMessageKeyOwner class represents a key owner of the trust message as defined by XEP-0434: Trust Messages (TM).
| QXmppTrustMessageKeyOwner::QXmppTrustMessageKeyOwner | ( | ) |
Constructs a trust message key owner.
| QList< QByteArray > QXmppTrustMessageKeyOwner::distrustedKeys | ( | ) | const |
Returns the IDs of the keys that are distrusted.
|
static |
Determines whether the given DOM element is a trust message key owner.
| element | DOM element being checked |
| QString QXmppTrustMessageKeyOwner::jid | ( | ) | const |
Returns the bare JID of the key owner.
| void QXmppTrustMessageKeyOwner::setDistrustedKeys | ( | const QList< QByteArray > & | keyIds | ) |
Sets the IDs of keys that are distrusted.
| keyIds | IDs of distrusted keys |
| void QXmppTrustMessageKeyOwner::setJid | ( | const QString & | jid | ) |
Sets the bare JID of the key owner.
If a full JID is passed, it is converted into a bare JID.
| jid | key owner's bare JID |
| void QXmppTrustMessageKeyOwner::setTrustedKeys | ( | const QList< QByteArray > & | keyIds | ) |
Sets the IDs of keys that are trusted.
| keyIds | IDs of trusted keys |
| QList< QByteArray > QXmppTrustMessageKeyOwner::trustedKeys | ( | ) | const |
Returns the IDs of the keys that are trusted.