aboutsummaryrefslogtreecommitdiff
path: root/src/client
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/client
parente24ed7b3cbec2a117b5be4f350b1b71a9778917b (diff)
downloadqxmpp-bcb778ec981486d37aef409a6d4edc2732069e48.tar.gz
Fix spelling errors
Diffstat (limited to 'src/client')
-rw-r--r--src/client/QXmppClient.h2
-rw-r--r--src/client/QXmppOutgoingClient.cpp4
-rw-r--r--src/client/QXmppRemoteMethod.cpp2
-rw-r--r--src/client/QXmppRosterManager.cpp2
-rw-r--r--src/client/QXmppTransferManager.cpp2
5 files changed, 6 insertions, 6 deletions
diff --git a/src/client/QXmppClient.h b/src/client/QXmppClient.h
index 6771f20c..439bd66a 100644
--- a/src/client/QXmppClient.h
+++ b/src/client/QXmppClient.h
@@ -64,7 +64,7 @@ class QXmppVersionManager;
/// QXmppConfiguration::setAutoReconnectionEnabled().
///
/// Not all the managers or extensions have been enabled by default. One can
-/// enable/disable the managers using the funtions addExtension() and
+/// enable/disable the managers using the functions addExtension() and
/// removeExtension(). findExtension() can be used to find reference/pointer to
/// particular instansiated and enabled manager.
///
diff --git a/src/client/QXmppOutgoingClient.cpp b/src/client/QXmppOutgoingClient.cpp
index 04929362..0a775919 100644
--- a/src/client/QXmppOutgoingClient.cpp
+++ b/src/client/QXmppOutgoingClient.cpp
@@ -339,7 +339,7 @@ void QXmppOutgoingClient::socketError(QAbstractSocket::SocketError socketError)
if ( !d->sessionStarted &&
(d->dns.serviceRecords().count() > d->nextSrvRecordIdx) )
{
- // some network error occured during startup -> try next available SRV record server
+ // some network error occurred during startup -> try next available SRV record server
d->connectToNextDNSHost();
}
else
@@ -931,7 +931,7 @@ void QXmppOutgoingClientPrivate::sendStreamManagementEnable()
q->sendData(data);
}
-/// Returns the type of the last XMPP stream error that occured.
+/// Returns the type of the last XMPP stream error that occurred.
QXmppStanza::Error::Condition QXmppOutgoingClient::xmppStreamError()
{
diff --git a/src/client/QXmppRemoteMethod.cpp b/src/client/QXmppRemoteMethod.cpp
index 235a8bd6..9d57f49e 100644
--- a/src/client/QXmppRemoteMethod.cpp
+++ b/src/client/QXmppRemoteMethod.cpp
@@ -44,7 +44,7 @@ QXmppRemoteMethodResult QXmppRemoteMethod::call( )
// us to lose incoming packets
QEventLoop loop(this);
connect( this, SIGNAL(callDone()), &loop, SLOT(quit()));
- QTimer::singleShot(30000,&loop, SLOT(quit())); // Timeout incase the other end hangs...
+ QTimer::singleShot(30000,&loop, SLOT(quit())); // Timeout in case the other end hangs...
m_client->sendPacket( m_payload );
diff --git a/src/client/QXmppRosterManager.cpp b/src/client/QXmppRosterManager.cpp
index 80230ccb..2fc42c6d 100644
--- a/src/client/QXmppRosterManager.cpp
+++ b/src/client/QXmppRosterManager.cpp
@@ -346,7 +346,7 @@ QStringList QXmppRosterManager::getRosterBareJids() const
QXmppRosterIq::Item QXmppRosterManager::getRosterEntry(
const QString& bareJid) const
{
- // will return blank entry if bareJid does'nt exist
+ // will return blank entry if bareJid doesn't exist
if(d->entries.contains(bareJid))
return d->entries.value(bareJid);
else
diff --git a/src/client/QXmppTransferManager.cpp b/src/client/QXmppTransferManager.cpp
index 5a9d6ac4..9567923f 100644
--- a/src/client/QXmppTransferManager.cpp
+++ b/src/client/QXmppTransferManager.cpp
@@ -1156,7 +1156,7 @@ void QXmppTransferManager::_q_iqReceived(const QXmppIq &iq)
job->terminate(QXmppTransferJob::ProtocolError);
}
} else {
- // we could not get host/port from proxy, procede without a proxy
+ // we could not get host/port from proxy, proceed without a proxy
if (iq.type() == QXmppIq::Error)
socksServerSendOffer(job);
}