]> Some of my projects - localmylist.git/commitdiff
Fix spelling recieve => receive.
authorAPTX <marek321@gmail.com>
Thu, 30 May 2013 14:03:26 +0000 (16:03 +0200)
committerAPTX <marek321@gmail.com>
Thu, 30 May 2013 14:03:26 +0000 (16:03 +0200)
localmylist/database.cpp
localmylist/requesthandler.cpp
localmylist/requesthandler.h
localmylist/sqlasyncquery.cpp
localmylist/sqlasyncquery.h
localmylist/sqlasyncqueryinternal.cpp

index 60e3c57b1aca52275d972a68bf6a746841bb1631..f3665314f4882b8846c5c0a00278cc99f0867ee2 100644 (file)
@@ -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")
        {
index 6ab19555742072189ee0aab59524743c120a62e3..97784d5611f4342339e904d6dc25a57e1f8827fc 100644 (file)
@@ -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<MyListAddReply *>(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;
 
index 540118c40dfe2742b7d376ca4945fc9c864472f9..adb2e207c806f70921714c3dcc1a301545088795 100644 (file)
@@ -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;
 
index 13450b6c90094a65af273a93a13b3d5e3289c2b2..fdb76313b8fbf518851d34106e872a882fafb299 100644 (file)
@@ -87,7 +87,7 @@ void SqlAsyncQuery::setCallback(SqlAsyncCallback callback)
        d->m_callback = callback;
 }
 
-void SqlAsyncQuery::resultRecieved()
+void SqlAsyncQuery::resultReceived()
 {
        AsyncQueryTask *t = qobject_cast<AsyncQueryTask *>(sender());
        if (!t)
index 83be9d7578fa510e4b175c9df6c2716d58f42034..2ee63638a4883c8572683cfe2f62f86b450faa0a 100644 (file)
@@ -50,7 +50,7 @@ signals:
        void resultReady();
 
 private slots:
-       void resultRecieved();
+       void resultReceived();
 
 private:
        Internal::SqlAsyncQueryInternal *d;
index 5a4405bcf78959a597ec117cc9292d7b0e5de485..2f74c6cadf4afde81030b52c58a02840b723f87a 100644 (file)
@@ -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;