diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-06-18 12:41:31 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-06-18 13:08:07 +0200 |
| commit | 32ccc6358ba6433e6b870b238fba20ccf1862fe2 (patch) | |
| tree | 81c4f8d5a1af484b7aad52ad2dcef4da556360ad /src/client/QXmppSendStanzaParams.h | |
| parent | cb1c0ac7ba16590304c8fe7bd6d87b69dffe5c67 (diff) | |
| download | qxmpp-32ccc6358ba6433e6b870b238fba20ccf1862fe2.tar.gz | |
Move SecurityPolicy, TrustLevel intro extra headers
This avoids the need to include the whole TrustStorage in files like
SendStanzaParams.h.
Diffstat (limited to 'src/client/QXmppSendStanzaParams.h')
| -rw-r--r-- | src/client/QXmppSendStanzaParams.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/QXmppSendStanzaParams.h b/src/client/QXmppSendStanzaParams.h index 70ef572a..56bb314b 100644 --- a/src/client/QXmppSendStanzaParams.h +++ b/src/client/QXmppSendStanzaParams.h @@ -6,7 +6,7 @@ #define QXMPPSENDSTANZAPARAMS_H #include "QXmppGlobal.h" -#include "QXmppTrustStorage.h" +#include "QXmppTrustLevel.h" #include <optional> @@ -27,8 +27,8 @@ public: QVector<QString> encryptionJids() const; void setEncryptionJids(QVector<QString>); - std::optional<QXmppTrustStorage::TrustLevels> acceptedTrustLevels() const; - void setAcceptedTrustLevels(std::optional<QXmppTrustStorage::TrustLevels> trustLevels); + std::optional<QXmpp::TrustLevels> acceptedTrustLevels() const; + void setAcceptedTrustLevels(std::optional<QXmpp::TrustLevels> trustLevels); private: QSharedDataPointer<QXmppSendStanzaParamsPrivate> d; |
