aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppSendStanzaParams.h
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2022-06-18 12:41:31 +0200
committerLinus Jahn <lnj@kaidan.im>2022-06-18 13:08:07 +0200
commit32ccc6358ba6433e6b870b238fba20ccf1862fe2 (patch)
tree81c4f8d5a1af484b7aad52ad2dcef4da556360ad /src/client/QXmppSendStanzaParams.h
parentcb1c0ac7ba16590304c8fe7bd6d87b69dffe5c67 (diff)
downloadqxmpp-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.h6
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;