diff options
Diffstat (limited to 'client/resourceaccess.cpp')
-rw-r--r-- | client/resourceaccess.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/resourceaccess.cpp b/client/resourceaccess.cpp index e73c773..44c2d84 100644 --- a/client/resourceaccess.cpp +++ b/client/resourceaccess.cpp | |||
@@ -74,8 +74,8 @@ void ResourceAccess::connected() | |||
74 | { | 74 | { |
75 | flatbuffers::FlatBufferBuilder fbb; | 75 | flatbuffers::FlatBufferBuilder fbb; |
76 | auto name = fbb.CreateString("Client PID: " + QString::number((long long)this).toLatin1() + "!"); | 76 | auto name = fbb.CreateString("Client PID: " + QString::number((long long)this).toLatin1() + "!"); |
77 | auto command = Toynadi::CreateHandshake(fbb, name); | 77 | auto command = Akonadi::CreateHandshake(fbb, name); |
78 | Toynadi::FinishHandshakeBuffer(fbb, command); | 78 | Akonadi::FinishHandshakeBuffer(fbb, command); |
79 | const int commandId = Commands::HandshakeCommand; | 79 | const int commandId = Commands::HandshakeCommand; |
80 | const int dataSize = fbb.GetSize(); | 80 | const int dataSize = fbb.GetSize(); |
81 | m_socket->write((const char*)&commandId, sizeof(int)); | 81 | m_socket->write((const char*)&commandId, sizeof(int)); |
@@ -108,7 +108,7 @@ void ResourceAccess::connectionError(QLocalSocket::LocalSocketError error) | |||
108 | Console::main()->log(QString("Attempting to start resource...")); | 108 | Console::main()->log(QString("Attempting to start resource...")); |
109 | QStringList args; | 109 | QStringList args; |
110 | args << m_resourceName; | 110 | args << m_resourceName; |
111 | if (QProcess::startDetached("toynadi_resource", args)) { | 111 | if (QProcess::startDetached("akonadinext_resource", args)) { |
112 | m_socket->open(); | 112 | m_socket->open(); |
113 | } | 113 | } |
114 | } | 114 | } |
@@ -142,7 +142,7 @@ bool ResourceAccess::processMessageBuffer() | |||
142 | 142 | ||
143 | switch (commandId) { | 143 | switch (commandId) { |
144 | case Commands::RevisionUpdateCommand: { | 144 | case Commands::RevisionUpdateCommand: { |
145 | auto buffer = Toynadi::GetRevisionUpdate(m_partialMessageBuffer.constData() + headerSize); | 145 | auto buffer = Akonadi::GetRevisionUpdate(m_partialMessageBuffer.constData() + headerSize); |
146 | Console::main()->log(QString(" Revision updated to: %1").arg(buffer->revision())); | 146 | Console::main()->log(QString(" Revision updated to: %1").arg(buffer->revision())); |
147 | emit revisionChanged(buffer->revision()); | 147 | emit revisionChanged(buffer->revision()); |
148 | break; | 148 | break; |