aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelvin Keskin <melvo@olomono.de>2022-06-09 13:48:23 +0200
committerLinus Jahn <lnj@kaidan.im>2022-06-14 11:51:35 +0200
commit5200f18b3a65fa49d2b9a9a3f8abc445e663830f (patch)
tree3d91c44fca7b4e4f9466e8907b5c268a91ada66b
parent1a3e39ffa34abea9b7b15c46f611db403e00d33c (diff)
downloadqxmpp-5200f18b3a65fa49d2b9a9a3f8abc445e663830f.tar.gz
Fix typos in documentation and tests
-rw-r--r--src/client/QXmppClientExtension.cpp2
-rw-r--r--src/client/QXmppE2eeExtension.cpp4
-rw-r--r--tests/qxmppclient/tst_qxmppclient.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/client/QXmppClientExtension.cpp b/src/client/QXmppClientExtension.cpp
index f71e9163..7181cfc3 100644
--- a/src/client/QXmppClientExtension.cpp
+++ b/src/client/QXmppClientExtension.cpp
@@ -73,7 +73,7 @@ bool QXmppClientExtension::handleStanza(const QDomElement &)
/// stanzas.
///
/// \param stanza The DOM element to be handled.
-/// \param e2eeMetadata If the element has been decrypted this contains metdata
+/// \param e2eeMetadata If the element has been decrypted this contains metadata
/// about the encryption.
///
/// \return You should return true if the stanza was handled and no further
diff --git a/src/client/QXmppE2eeExtension.cpp b/src/client/QXmppE2eeExtension.cpp
index 1a6d5e5c..9e98a566 100644
--- a/src/client/QXmppE2eeExtension.cpp
+++ b/src/client/QXmppE2eeExtension.cpp
@@ -47,7 +47,7 @@
/// Encrypts a QXmppMessage and returns the serialized XML stanza with encrypted
/// contents via QFuture.
///
-/// If the message cannot be encrypted for whatever reason you can either
+/// If the message cannot be encrypted for whatever reason, you can either
/// serialize the message unencrypted and return that or return a SendError with
/// an error message.
///
@@ -58,7 +58,7 @@
/// Encrypts a QXmppIq and returns the serialized XML stanza with encrypted
/// contents via QFuture.
///
-/// If the IQ cannot be encrypted for whatever reason you can either serialize
+/// If the IQ cannot be encrypted for whatever reason, you can either serialize
/// the IQ unencrypted and return that or return a SendError with an error
/// message.
///
diff --git a/tests/qxmppclient/tst_qxmppclient.cpp b/tests/qxmppclient/tst_qxmppclient.cpp
index aef16601..7816cb81 100644
--- a/tests/qxmppclient/tst_qxmppclient.cpp
+++ b/tests/qxmppclient/tst_qxmppclient.cpp
@@ -29,7 +29,7 @@ private slots:
void testIndexOfExtension();
- void testE2eeEncryption();
+ void testE2eeExtension();
private:
QXmppClient *client;
@@ -115,7 +115,7 @@ public:
}
};
-void tst_QXmppClient::testE2eeEncryption()
+void tst_QXmppClient::testE2eeExtension()
{
QXmppClient client;
EncryptionExtension encrypter;