QXmpp Version: 1.10.0
|
Public Member Functions | |
QXmppSendStanzaParams (const QXmppSendStanzaParams &other) | |
Copy-constructor. | |
QXmppSendStanzaParams (QXmppSendStanzaParams &&) | |
Move-constructor. | |
QXmppSendStanzaParams & | operator= (const QXmppSendStanzaParams &) |
Assignment operator. | |
QXmppSendStanzaParams & | operator= (QXmppSendStanzaParams &&) |
Move-assignment operator. | |
QVector< QString > | encryptionJids () const |
void | setEncryptionJids (QVector< QString >) |
std::optional< QXmpp::TrustLevels > | acceptedTrustLevels () const |
void | setAcceptedTrustLevels (std::optional< QXmpp::TrustLevels > trustLevels) |
Contains additional parameters for sending stanzas.
std::optional< TrustLevels > QXmppSendStanzaParams::acceptedTrustLevels | ( | ) | const |
Returns the possible trust levels a key must have to be used for encryption.
If no trust levels are set, the encryption manager uses an own default.
QVector< QString > QXmppSendStanzaParams::encryptionJids | ( | ) | const |
Returns the list of JIDs that the stanza should be encrypted for.
If this is empty, the stanza should be encrypted for the recipient. This option is useful for groupchats.
void QXmppSendStanzaParams::setAcceptedTrustLevels | ( | std::optional< QXmpp::TrustLevels > | trustLevels | ) |
Sets the possible trust levels a key must have to be used for encryption.
If no trust levels are set, the encryption manager uses an own default.
trustLevels | trust levels of the keys used for encryption |
void QXmppSendStanzaParams::setEncryptionJids | ( | QVector< QString > | encryptionJids | ) |
Sets the list of JIDs that the stanza should be encrypted for.
If this is empty, the stanza should be encrypted for the recipient. This option is useful for groupchats.