aboutsummaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorBoris Pek <tehnick-8@yandex.ru>2019-01-08 02:03:44 +0300
committerBoris Pek <tehnick-8@yandex.ru>2019-01-08 02:18:13 +0300
commitbcb778ec981486d37aef409a6d4edc2732069e48 (patch)
tree87700ca15e7c9dbe404abeeb0e442d9dea4f6c98 /src/base
parente24ed7b3cbec2a117b5be4f350b1b71a9778917b (diff)
downloadqxmpp-bcb778ec981486d37aef409a6d4edc2732069e48.tar.gz
Fix spelling errors
Diffstat (limited to 'src/base')
-rw-r--r--src/base/QXmppCodec.cpp4
-rw-r--r--src/base/QXmppIq.cpp2
-rw-r--r--src/base/QXmppMessage.cpp2
-rw-r--r--src/base/QXmppPresence.cpp2
-rw-r--r--src/base/QXmppStanza.cpp2
-rw-r--r--src/base/QXmppStream.cpp2
-rw-r--r--src/base/QXmppStream.h2
7 files changed, 8 insertions, 8 deletions
diff --git a/src/base/QXmppCodec.cpp b/src/base/QXmppCodec.cpp
index 98b6934a..3b7d9615 100644
--- a/src/base/QXmppCodec.cpp
+++ b/src/base/QXmppCodec.cpp
@@ -530,7 +530,7 @@ int QXmppOpusCodec::readWindow(int bufferSize)
// Get the number of frames in the buffer.
int samples = bufferSize / nChannels / 2;
- // Find an appropiate number of samples to read, according to Opus specs.
+ // Find an appropriate number of samples to read, according to Opus specs.
for (int i = validFrameSize.size() - 1; i >= 0; i--)
if (validFrameSize[i] <= samples)
return validFrameSize[i];
@@ -1207,7 +1207,7 @@ QList<QXmppVideoFrame> QXmppVpxDecoder::handlePacket(const QXmppRtpPacket &packe
QXmppVideoFrame frame;
static quint16 sequence = 0;
- // If the incomming packet sequence is wrong discard all packets until a
+ // If the incoming packet sequence is wrong discard all packets until a
// complete keyframe arrives.
// If a partition of a keyframe is missing, discard it until a next
// keyframe.
diff --git a/src/base/QXmppIq.cpp b/src/base/QXmppIq.cpp
index 3e579726..24013621 100644
--- a/src/base/QXmppIq.cpp
+++ b/src/base/QXmppIq.cpp
@@ -91,7 +91,7 @@ void QXmppIq::setType(QXmppIq::Type type)
d->type = type;
}
-/// Indicates if the QXmppStanza is a stanza in the XMPP sence (i. e. a message,
+/// Indicates if the QXmppStanza is a stanza in the XMPP sense (i. e. a message,
/// iq or presence)
bool QXmppIq::isXmppStanza() const
diff --git a/src/base/QXmppMessage.cpp b/src/base/QXmppMessage.cpp
index 24a5d4eb..b76d6c4b 100644
--- a/src/base/QXmppMessage.cpp
+++ b/src/base/QXmppMessage.cpp
@@ -474,7 +474,7 @@ void QXmppMessage::setPrivate(const bool priv)
d->privatemsg = priv;
}
-/// Indicates if the QXmppStanza is a stanza in the XMPP sence (i. e. a message,
+/// Indicates if the QXmppStanza is a stanza in the XMPP sense (i. e. a message,
/// iq or presence)
bool QXmppMessage::isXmppStanza() const
diff --git a/src/base/QXmppPresence.cpp b/src/base/QXmppPresence.cpp
index d52810f9..f93570d1 100644
--- a/src/base/QXmppPresence.cpp
+++ b/src/base/QXmppPresence.cpp
@@ -522,7 +522,7 @@ void QXmppPresence::setLastUserInteraction(const QDateTime& lastUserInteraction)
d->lastUserInteraction = lastUserInteraction;
}
-/// Indicates if the QXmppStanza is a stanza in the XMPP sence (i. e. a message,
+/// Indicates if the QXmppStanza is a stanza in the XMPP sense (i. e. a message,
/// iq or presence)
bool QXmppPresence::isXmppStanza() const
diff --git a/src/base/QXmppStanza.cpp b/src/base/QXmppStanza.cpp
index a2bb43be..bcac5a65 100644
--- a/src/base/QXmppStanza.cpp
+++ b/src/base/QXmppStanza.cpp
@@ -486,7 +486,7 @@ void QXmppStanza::setExtendedAddresses(const QList<QXmppExtendedAddress> &addres
d->extendedAddresses = addresses;
}
-/// Indicates if the QXmppStanza is a stanza in the XMPP sence (i. e. a message,
+/// Indicates if the QXmppStanza is a stanza in the XMPP sense (i. e. a message,
/// iq or presence)
bool QXmppStanza::isXmppStanza() const
diff --git a/src/base/QXmppStream.cpp b/src/base/QXmppStream.cpp
index 431c3da4..4d909bad 100644
--- a/src/base/QXmppStream.cpp
+++ b/src/base/QXmppStream.cpp
@@ -290,7 +290,7 @@ void QXmppStream::_q_socketReadyRead()
/// Enables Stream Management acks / reqs (XEP-0198).
///
-/// \param resetSequenceNumber Indicates if the sequence numbers should be resetted.
+/// \param resetSequenceNumber Indicates if the sequence numbers should be reset.
/// This must be done iff the stream is not resumed.
void QXmppStream::enableStreamManagement(bool resetSequenceNumber)
{
diff --git a/src/base/QXmppStream.h b/src/base/QXmppStream.h
index c0ac1807..3b93a78d 100644
--- a/src/base/QXmppStream.h
+++ b/src/base/QXmppStream.h
@@ -76,7 +76,7 @@ protected:
/// Enables Stream Management acks / reqs (XEP-0198).
///
- /// \param resetSeqno Indicates if the sequence numbers should be resetted.
+ /// \param resetSeqno Indicates if the sequence numbers should be reset.
/// This must be done iff the stream is not resumed.
void enableStreamManagement(bool resetSequenceNumber);