Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Commit 5200f18

Browse files
melvolnjX
authored andcommitted
Fix typos in documentation and tests
1 parent 1a3e39f commit 5200f18

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/client/QXmppClientExtension.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ bool QXmppClientExtension::handleStanza(const QDomElement &)
7373
/// stanzas.
7474
///
7575
/// \param stanza The DOM element to be handled.
76-
/// \param e2eeMetadata If the element has been decrypted this contains metdata
76+
/// \param e2eeMetadata If the element has been decrypted this contains metadata
7777
/// about the encryption.
7878
///
7979
/// \return You should return true if the stanza was handled and no further

src/client/QXmppE2eeExtension.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
/// Encrypts a QXmppMessage and returns the serialized XML stanza with encrypted
4848
/// contents via QFuture.
4949
///
50-
/// If the message cannot be encrypted for whatever reason you can either
50+
/// If the message cannot be encrypted for whatever reason, you can either
5151
/// serialize the message unencrypted and return that or return a SendError with
5252
/// an error message.
5353
///
@@ -58,7 +58,7 @@
5858
/// Encrypts a QXmppIq and returns the serialized XML stanza with encrypted
5959
/// contents via QFuture.
6060
///
61-
/// If the IQ cannot be encrypted for whatever reason you can either serialize
61+
/// If the IQ cannot be encrypted for whatever reason, you can either serialize
6262
/// the IQ unencrypted and return that or return a SendError with an error
6363
/// message.
6464
///

tests/qxmppclient/tst_qxmppclient.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ private slots:
2929

3030
void testIndexOfExtension();
3131

32-
void testE2eeEncryption();
32+
void testE2eeExtension();
3333

3434
private:
3535
QXmppClient *client;
@@ -115,7 +115,7 @@ class EncryptionExtension : public QXmppE2eeExtension
115115
}
116116
};
117117

118-
void tst_QXmppClient::testE2eeEncryption()
118+
void tst_QXmppClient::testE2eeExtension()
119119
{
120120
QXmppClient client;
121121
EncryptionExtension encrypter;

0 commit comments

Comments
 (0)