aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppMessage.h
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2022-09-29 15:16:45 +0200
committerLinus Jahn <lnj@kaidan.im>2022-09-29 15:16:45 +0200
commit423fa97d3699b133926aeaab01c216c69555ce6f (patch)
tree5de54bc0825d0742de0f0ddfcb1d911ecb5b3db1 /src/base/QXmppMessage.h
parent187a57269387a509e7db34c1a7d51f37acc3ee08 (diff)
downloadqxmpp-423fa97d3699b133926aeaab01c216c69555ce6f.tar.gz
Rename Encryption to EncryptionMethod to avoid conflicts with namespace
There's QXmpp::Private::Encryption. This renames QXmpp::Encryption to QXmpp::EncryptionMethod to avoid conflicts.
Diffstat (limited to 'src/base/QXmppMessage.h')
-rw-r--r--src/base/QXmppMessage.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base/QXmppMessage.h b/src/base/QXmppMessage.h
index 51547f0a..899f477e 100644
--- a/src/base/QXmppMessage.h
+++ b/src/base/QXmppMessage.h
@@ -35,7 +35,7 @@ class QXMPP_EXPORT QXmppMessage : public QXmppStanza
public:
#if QXMPP_DEPRECATED_SINCE(1, 5)
/// \cond
- using EncryptionMethod = QXmpp::Encryption;
+ using EncryptionMethod = QXmpp::EncryptionMethod;
static const EncryptionMethod NoEncryption = EncryptionMethod::NoEncryption;
static const EncryptionMethod UnknownEncryption = EncryptionMethod::UnknownEncryption;
@@ -226,8 +226,8 @@ public:
void setMixUserNick(const QString &);
// XEP-0380: Explicit Message Encryption
- QXmpp::Encryption encryptionMethod() const;
- void setEncryptionMethod(QXmpp::Encryption);
+ QXmpp::EncryptionMethod encryptionMethod() const;
+ void setEncryptionMethod(QXmpp::EncryptionMethod);
QString encryptionMethodNs() const;
void setEncryptionMethodNs(const QString &);