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 fce8ca6..bbc7f8b 100644 --- a/client/resourceaccess.cpp +++ b/client/resourceaccess.cpp | |||
@@ -73,8 +73,8 @@ void ResourceAccess::connected() | |||
73 | 73 | ||
74 | { | 74 | { |
75 | auto name = m_fbb.CreateString(QString::number((long long)this).toLatin1()); | 75 | auto name = m_fbb.CreateString(QString::number((long long)this).toLatin1()); |
76 | auto command = Akonadi::CreateHandshake(m_fbb, name); | 76 | auto command = Akonadi2::CreateHandshake(m_fbb, name); |
77 | Akonadi::FinishHandshakeBuffer(m_fbb, command); | 77 | Akonadi2::FinishHandshakeBuffer(m_fbb, command); |
78 | Commands::write(m_socket, Commands::HandshakeCommand, m_fbb); | 78 | Commands::write(m_socket, Commands::HandshakeCommand, m_fbb); |
79 | m_fbb.Clear(); | 79 | m_fbb.Clear(); |
80 | } | 80 | } |
@@ -104,7 +104,7 @@ void ResourceAccess::connectionError(QLocalSocket::LocalSocketError error) | |||
104 | log(QString("Attempting to start resource ") + m_resourceName); | 104 | log(QString("Attempting to start resource ") + m_resourceName); |
105 | QStringList args; | 105 | QStringList args; |
106 | args << m_resourceName; | 106 | args << m_resourceName; |
107 | if (QProcess::startDetached("akonadinext_synchronizer", args)) { | 107 | if (QProcess::startDetached("akonadi2_synchronizer", args)) { |
108 | m_socket->open(); | 108 | m_socket->open(); |
109 | } | 109 | } |
110 | } | 110 | } |
@@ -137,7 +137,7 @@ bool ResourceAccess::processMessageBuffer() | |||
137 | 137 | ||
138 | switch (commandId) { | 138 | switch (commandId) { |
139 | case Commands::RevisionUpdateCommand: { | 139 | case Commands::RevisionUpdateCommand: { |
140 | auto buffer = Akonadi::GetRevisionUpdate(m_partialMessageBuffer.constData() + headerSize); | 140 | auto buffer = Akonadi2::GetRevisionUpdate(m_partialMessageBuffer.constData() + headerSize); |
141 | log(QString("Revision updated to: %1").arg(buffer->revision())); | 141 | log(QString("Revision updated to: %1").arg(buffer->revision())); |
142 | emit revisionChanged(buffer->revision()); | 142 | emit revisionChanged(buffer->revision()); |
143 | break; | 143 | break; |