diff options
| author | Boris Pek <tehnick-8@yandex.ru> | 2019-01-08 02:03:44 +0300 |
|---|---|---|
| committer | Boris Pek <tehnick-8@yandex.ru> | 2019-01-08 02:18:13 +0300 |
| commit | bcb778ec981486d37aef409a6d4edc2732069e48 (patch) | |
| tree | 87700ca15e7c9dbe404abeeb0e442d9dea4f6c98 | |
| parent | e24ed7b3cbec2a117b5be4f350b1b71a9778917b (diff) | |
| download | qxmpp-bcb778ec981486d37aef409a6d4edc2732069e48.tar.gz | |
Fix spelling errors
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | doc/using.doc | 2 | ||||
| -rw-r--r-- | examples/example_1_echoClient/README | 2 | ||||
| -rw-r--r-- | src/base/QXmppCodec.cpp | 4 | ||||
| -rw-r--r-- | src/base/QXmppIq.cpp | 2 | ||||
| -rw-r--r-- | src/base/QXmppMessage.cpp | 2 | ||||
| -rw-r--r-- | src/base/QXmppPresence.cpp | 2 | ||||
| -rw-r--r-- | src/base/QXmppStanza.cpp | 2 | ||||
| -rw-r--r-- | src/base/QXmppStream.cpp | 2 | ||||
| -rw-r--r-- | src/base/QXmppStream.h | 2 | ||||
| -rw-r--r-- | src/client/QXmppClient.h | 2 | ||||
| -rw-r--r-- | src/client/QXmppOutgoingClient.cpp | 4 | ||||
| -rw-r--r-- | src/client/QXmppRemoteMethod.cpp | 2 | ||||
| -rw-r--r-- | src/client/QXmppRosterManager.cpp | 2 | ||||
| -rw-r--r-- | src/client/QXmppTransferManager.cpp | 2 | ||||
| -rw-r--r-- | src/server/QXmppServer.cpp | 2 |
16 files changed, 18 insertions, 18 deletions
@@ -85,7 +85,7 @@ http://doc.qxmpp.org/ SUPPORTED PLATFORMS =================== -It should work on all the plaforms supported by Qt. For a complete list of +It should work on all the platforms supported by Qt. For a complete list of platforms support by Qt, see: https://doc.qt.io/qt-5/supported-platforms.html diff --git a/doc/using.doc b/doc/using.doc index 729360ff..9da7d4ff 100644 --- a/doc/using.doc +++ b/doc/using.doc @@ -40,7 +40,7 @@ This example is also available with the source code in the example directory. \code // subclass the QXmppClient and create a new class echoClient -// in the contructor the signal QXmppClient::messageReceived(const QXmppMessage&) +// in the constructor the signal QXmppClient::messageReceived(const QXmppMessage&) // is connected to the slot echoClient::messageReceived(const QXmppMessage&) // in the slot one can process the message received diff --git a/examples/example_1_echoClient/README b/examples/example_1_echoClient/README index 4c3ac681..b3081610 100644 --- a/examples/example_1_echoClient/README +++ b/examples/example_1_echoClient/README @@ -1,5 +1,5 @@ This is a very simple bot which echoes the message sent to it. -Run this example, send it a message from a friend of this bot. You will recieve the message back. +Run this example, send it a message from a friend of this bot. You will receive the message back. This example shows how to receive and send messages. 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); 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); } diff --git a/src/server/QXmppServer.cpp b/src/server/QXmppServer.cpp index 73a7415e..1e17de90 100644 --- a/src/server/QXmppServer.cpp +++ b/src/server/QXmppServer.cpp @@ -909,7 +909,7 @@ void QXmppSslServer::incomingConnection(qintptr socketDescriptor) } /// Adds the given certificates to the CA certificate database to be used -/// for incoming connnections. +/// for incoming connections. /// /// \param certificates |
