From: APTX Date: Thu, 30 May 2013 14:03:26 +0000 (+0200) Subject: Fix spelling recieve => receive. X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=675d5c3108260ce9e165f6c188db99ee1803afc2;p=localmylist.git Fix spelling recieve => receive. --- diff --git a/localmylist/database.cpp b/localmylist/database.cpp index 60e3c57..f366531 100644 --- a/localmylist/database.cpp +++ b/localmylist/database.cpp @@ -1953,9 +1953,9 @@ void Database::handleNotification(const QString &name) { #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) Q_UNUSED(source); - qDebug() << QString("[%1] Recieved notification %2, %3").arg(connectionName).arg(name).arg(payload.toString()); + qDebug() << QString("[%1] Received notification %2, %3").arg(connectionName).arg(name).arg(payload.toString()); #else - qDebug() << QString("[%1] Recieved notification %2").arg(connectionName).arg(name); + qDebug() << QString("[%1] Received notification %2").arg(connectionName).arg(name); #endif if (name == "new_pending_request") { diff --git a/localmylist/requesthandler.cpp b/localmylist/requesthandler.cpp index 6ab1955..97784d5 100644 --- a/localmylist/requesthandler.cpp +++ b/localmylist/requesthandler.cpp @@ -99,7 +99,7 @@ void RequestHandler::handleRequests() connect(reply, SIGNAL(replyReady(bool)), this, SLOT(episodeRequestComplete(bool))); // The vote command doesn't allow voting for an eid, but requires the aid and episode number - // This has to be done after recieving a reply. + // This has to be done after receiving a reply. } else if (request.fid) { @@ -154,7 +154,7 @@ void RequestHandler::handleMyListUpdates() cmd.setValue(int(request.vote * 100)); VoteReply *reply = Client::instance()->send(cmd); - connect(reply, SIGNAL(replyReady(bool)), this, SLOT(myListUpdateVoteReplyRecieved(bool))); + connect(reply, SIGNAL(replyReady(bool)), this, SLOT(myListUpdateVoteReplyComplete(bool))); myListUpdateVoteIdMap.insert(reply, request.updateId); continue; } @@ -203,7 +203,7 @@ void RequestHandler::handleMyListUpdates() cmd.setOther(request.myOther); MyListAddReply *reply = Client::instance()->send(cmd); - connect(reply, SIGNAL(replyReady(bool)), this, SLOT(myListEditReplyRecieved(bool))); + connect(reply, SIGNAL(replyReady(bool)), this, SLOT(myListEditReplyComplete(bool))); myListUpdateIdMap.insert(reply, request.updateId); } @@ -467,7 +467,7 @@ void RequestHandler::fileRequestComplete(bool success) cmd.setStorage(MyList::instance()->settings()->get("myListDefaultStorage").toString()); cmd.setOther(MyList::instance()->settings()->get("myListDefaultOther").toString()); MyListAddReply *addReply = Client::instance()->send(cmd); - connect(addReply, SIGNAL(replyReady(bool)), this, SLOT(myListAddReplyRecieved(bool))); + connect(addReply, SIGNAL(replyReady(bool)), this, SLOT(myListAddReplyComplete(bool))); return; } @@ -557,11 +557,11 @@ void RequestHandler::voteRequestComplete(bool) } } -void RequestHandler::myListAddReplyRecieved(bool success) +void RequestHandler::myListAddReplyComplete(bool success) { using namespace ::AniDBUdpClient; - qDebug() << "myListAddReplyRecieved"; + qDebug() << "myListAddReplyComplete"; MyListAddReply *reply = qobject_cast(sender()); @@ -619,7 +619,7 @@ void RequestHandler::myListAddReplyRecieved(bool success) db->commit(); } -void RequestHandler::myListEditReplyRecieved(bool success) +void RequestHandler::myListEditReplyComplete(bool success) { using namespace ::AniDBUdpClient; @@ -685,7 +685,7 @@ void RequestHandler::myListEditReplyRecieved(bool success) t.commit(); } -void RequestHandler::myListUpdateVoteReplyRecieved(bool success) +void RequestHandler::myListUpdateVoteReplyComplete(bool success) { using namespace ::AniDBUdpClient; diff --git a/localmylist/requesthandler.h b/localmylist/requesthandler.h index 540118c..adb2e20 100644 --- a/localmylist/requesthandler.h +++ b/localmylist/requesthandler.h @@ -38,9 +38,9 @@ private slots: void episodeRequestComplete(bool success); void fileRequestComplete(bool success); void voteRequestComplete(bool); - void myListAddReplyRecieved(bool success); - void myListEditReplyRecieved(bool success); - void myListUpdateVoteReplyRecieved(bool success); + void myListAddReplyComplete(bool success); + void myListEditReplyComplete(bool success); + void myListUpdateVoteReplyComplete(bool success); private: Database *db; diff --git a/localmylist/sqlasyncquery.cpp b/localmylist/sqlasyncquery.cpp index 13450b6..fdb7631 100644 --- a/localmylist/sqlasyncquery.cpp +++ b/localmylist/sqlasyncquery.cpp @@ -87,7 +87,7 @@ void SqlAsyncQuery::setCallback(SqlAsyncCallback callback) d->m_callback = callback; } -void SqlAsyncQuery::resultRecieved() +void SqlAsyncQuery::resultReceived() { AsyncQueryTask *t = qobject_cast(sender()); if (!t) diff --git a/localmylist/sqlasyncquery.h b/localmylist/sqlasyncquery.h index 83be9d7..2ee6363 100644 --- a/localmylist/sqlasyncquery.h +++ b/localmylist/sqlasyncquery.h @@ -50,7 +50,7 @@ signals: void resultReady(); private slots: - void resultRecieved(); + void resultReceived(); private: Internal::SqlAsyncQueryInternal *d; diff --git a/localmylist/sqlasyncqueryinternal.cpp b/localmylist/sqlasyncqueryinternal.cpp index 5a4405b..2f74c6c 100644 --- a/localmylist/sqlasyncqueryinternal.cpp +++ b/localmylist/sqlasyncqueryinternal.cpp @@ -64,7 +64,7 @@ bool SqlAsyncQueryInternal::exec() AsyncQueryTask *task = new AsyncQueryTask; task->setQuery(q); - QObject::connect(task, SIGNAL(finished()), p, SLOT(resultRecieved())); + QObject::connect(task, SIGNAL(finished()), p, SLOT(resultReceived())); MyList::instance()->executeTask(task); return true;