summaryrefslogtreecommitdiffstats
path: root/common/listener.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-20 19:07:07 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-20 19:07:07 +0100
commitbdb01c2c068df326f5a8328ed1492ab1bea388c5 (patch)
tree25c2ee1b29bc481b6914c244ed9ca194b1415d16 /common/listener.h
parent17e7ee40c9185c0505883853345fd6024c675b1a (diff)
downloadsink-bdb01c2c068df326f5a8328ed1492ab1bea388c5.tar.gz
sink-bdb01c2c068df326f5a8328ed1492ab1bea388c5.zip
Renamed Akonadi2 to Sink
(except for documentation).
Diffstat (limited to 'common/listener.h')
-rw-r--r--common/listener.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/listener.h b/common/listener.h
index 4112a6a..e17f315 100644
--- a/common/listener.h
+++ b/common/listener.h
@@ -25,7 +25,7 @@
25#include <QLocalSocket> 25#include <QLocalSocket>
26#include <flatbuffers/flatbuffers.h> 26#include <flatbuffers/flatbuffers.h>
27 27
28namespace Akonadi2 28namespace Sink
29{ 29{
30 class Resource; 30 class Resource;
31 class Notification; 31 class Notification;
@@ -77,7 +77,7 @@ private Q_SLOTS:
77 void onDataAvailable(); 77 void onDataAvailable();
78 void processClientBuffers(); 78 void processClientBuffers();
79 void refreshRevision(qint64); 79 void refreshRevision(qint64);
80 void notify(const Akonadi2::Notification &); 80 void notify(const Sink::Notification &);
81 void quit(); 81 void quit();
82 82
83private: 83private:
@@ -85,7 +85,7 @@ private:
85 bool processClientBuffer(Client &client); 85 bool processClientBuffer(Client &client);
86 void sendCommandCompleted(QLocalSocket *socket, uint messageId, bool success); 86 void sendCommandCompleted(QLocalSocket *socket, uint messageId, bool success);
87 void updateClientsWithRevision(qint64); 87 void updateClientsWithRevision(qint64);
88 Akonadi2::Resource *loadResource(); 88 Sink::Resource *loadResource();
89 void readFromSocket(QLocalSocket *socket); 89 void readFromSocket(QLocalSocket *socket);
90 qint64 lowerBoundRevision(); 90 qint64 lowerBoundRevision();
91 91
@@ -94,7 +94,7 @@ private:
94 flatbuffers::FlatBufferBuilder m_fbb; 94 flatbuffers::FlatBufferBuilder m_fbb;
95 const QByteArray m_resourceName; 95 const QByteArray m_resourceName;
96 const QByteArray m_resourceInstanceIdentifier; 96 const QByteArray m_resourceInstanceIdentifier;
97 Akonadi2::Resource *m_resource; 97 Sink::Resource *m_resource;
98 QTimer *m_clientBufferProcessesTimer; 98 QTimer *m_clientBufferProcessesTimer;
99 QTimer *m_checkConnectionsTimer; 99 QTimer *m_checkConnectionsTimer;
100 int m_messageId; 100 int m_messageId;