summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/genericresource.cpp4
-rw-r--r--common/genericresource.h2
-rw-r--r--common/listener.h6
-rw-r--r--common/pipeline.h2
-rw-r--r--common/resource.h2
-rw-r--r--common/resourceaccess.h8
-rw-r--r--formattest.cpp4
-rw-r--r--sinksh/repl/replStates.h6
-rw-r--r--tests/clientapitest.cpp2
-rw-r--r--tests/databasepopulationandfacadequerybenchmark.cpp2
-rw-r--r--tests/domainadaptortest.cpp2
-rw-r--r--tests/dummyresourcebenchmark.cpp2
-rw-r--r--tests/dummyresourcetest.cpp2
-rw-r--r--tests/dummyresourcewritebenchmark.cpp2
-rw-r--r--tests/genericfacadetest.cpp2
-rw-r--r--tests/genericresourcebenchmark.cpp2
-rw-r--r--tests/genericresourcetest.cpp2
-rw-r--r--tests/indextest.cpp2
-rw-r--r--tests/inspectiontest.cpp2
-rw-r--r--tests/maildirresourcetest.cpp2
-rw-r--r--tests/maildirsyncbenchmark.cpp2
-rw-r--r--tests/mailquerybenchmark.cpp2
-rw-r--r--tests/messagequeuetest.cpp2
-rw-r--r--tests/modelinteractivitytest.cpp2
-rw-r--r--tests/pipelinebenchmark.cpp2
-rw-r--r--tests/pipelinetest.cpp2
-rw-r--r--tests/querytest.cpp2
-rw-r--r--tests/resourcecommunicationtest.cpp2
-rw-r--r--tests/storagebenchmark.cpp2
-rw-r--r--tests/storagetest.cpp2
-rw-r--r--tests/testimplementations.h2
31 files changed, 40 insertions, 40 deletions
diff --git a/common/genericresource.cpp b/common/genericresource.cpp
index 2688df0..74a8cfb 100644
--- a/common/genericresource.cpp
+++ b/common/genericresource.cpp
@@ -70,10 +70,10 @@ public:
70 return (lastReplayedRevision >= topRevision); 70 return (lastReplayedRevision >= topRevision);
71 } 71 }
72 72
73Q_SIGNALS: 73signals:
74 void changesReplayed(); 74 void changesReplayed();
75 75
76public Q_SLOTS: 76public slots:
77 void revisionChanged() 77 void revisionChanged()
78 { 78 {
79 auto mainStoreTransaction = mStorage.createTransaction(Storage::ReadOnly); 79 auto mainStoreTransaction = mStorage.createTransaction(Storage::ReadOnly);
diff --git a/common/genericresource.h b/common/genericresource.h
index ceb6b61..b9bb994 100644
--- a/common/genericresource.h
+++ b/common/genericresource.h
@@ -56,7 +56,7 @@ public:
56 static void removeFromDisk(const QByteArray &instanceIdentifier); 56 static void removeFromDisk(const QByteArray &instanceIdentifier);
57 static qint64 diskUsage(const QByteArray &instanceIdentifier); 57 static qint64 diskUsage(const QByteArray &instanceIdentifier);
58 58
59private Q_SLOTS: 59private slots:
60 void updateLowerBoundRevision(); 60 void updateLowerBoundRevision();
61 61
62protected: 62protected:
diff --git a/common/listener.h b/common/listener.h
index 5bcc93e..49ded1a 100644
--- a/common/listener.h
+++ b/common/listener.h
@@ -65,13 +65,13 @@ public:
65 Listener(const QByteArray &resourceName, QObject *parent = 0); 65 Listener(const QByteArray &resourceName, QObject *parent = 0);
66 ~Listener(); 66 ~Listener();
67 67
68Q_SIGNALS: 68signals:
69 void noClients(); 69 void noClients();
70 70
71public Q_SLOTS: 71public slots:
72 void closeAllConnections(); 72 void closeAllConnections();
73 73
74private Q_SLOTS: 74private slots:
75 void acceptConnection(); 75 void acceptConnection();
76 void clientDropped(); 76 void clientDropped();
77 void checkConnections(); 77 void checkConnections();
diff --git a/common/pipeline.h b/common/pipeline.h
index 096771f..0f989e4 100644
--- a/common/pipeline.h
+++ b/common/pipeline.h
@@ -69,7 +69,7 @@ public:
69 */ 69 */
70 qint64 cleanedUpRevision(); 70 qint64 cleanedUpRevision();
71 71
72Q_SIGNALS: 72signals:
73 void revisionUpdated(qint64); 73 void revisionUpdated(qint64);
74 74
75private: 75private:
diff --git a/common/resource.h b/common/resource.h
index ab30cb9..d0100f6 100644
--- a/common/resource.h
+++ b/common/resource.h
@@ -60,7 +60,7 @@ public:
60 */ 60 */
61 virtual void removeDataFromDisk(); 61 virtual void removeDataFromDisk();
62 62
63Q_SIGNALS: 63signals:
64 void revisionUpdated(qint64); 64 void revisionUpdated(qint64);
65 void notify(Notification); 65 void notify(Notification);
66 66
diff --git a/common/resourceaccess.h b/common/resourceaccess.h
index 3b03210..ce7e174 100644
--- a/common/resourceaccess.h
+++ b/common/resourceaccess.h
@@ -53,12 +53,12 @@ public:
53 virtual KAsync::Job<void> sendRevisionReplayedCommand(qint64 revision) {return KAsync::null<void>(); }; 53 virtual KAsync::Job<void> sendRevisionReplayedCommand(qint64 revision) {return KAsync::null<void>(); };
54 virtual KAsync::Job<void> sendInspectionCommand(const QByteArray &inspectionId, const QByteArray &domainType, const QByteArray &entityId, const QByteArray &property, const QVariant &expecedValue) {return KAsync::null<void>(); }; 54 virtual KAsync::Job<void> sendInspectionCommand(const QByteArray &inspectionId, const QByteArray &domainType, const QByteArray &entityId, const QByteArray &property, const QVariant &expecedValue) {return KAsync::null<void>(); };
55 55
56Q_SIGNALS: 56signals:
57 void ready(bool isReady); 57 void ready(bool isReady);
58 void revisionChanged(qint64 revision); 58 void revisionChanged(qint64 revision);
59 void notification(Notification revision); 59 void notification(Notification revision);
60 60
61public Q_SLOTS: 61public slots:
62 virtual void open() = 0; 62 virtual void open() = 0;
63 virtual void close() = 0; 63 virtual void close() = 0;
64}; 64};
@@ -88,11 +88,11 @@ public:
88 */ 88 */
89 static KAsync::Job<QSharedPointer<QLocalSocket> > connectToServer(const QByteArray &identifier); 89 static KAsync::Job<QSharedPointer<QLocalSocket> > connectToServer(const QByteArray &identifier);
90 90
91public Q_SLOTS: 91public slots:
92 void open() Q_DECL_OVERRIDE; 92 void open() Q_DECL_OVERRIDE;
93 void close() Q_DECL_OVERRIDE; 93 void close() Q_DECL_OVERRIDE;
94 94
95private Q_SLOTS: 95private slots:
96 //TODO: move these to the Private class 96 //TODO: move these to the Private class
97 void disconnected(); 97 void disconnected();
98 void connectionError(QLocalSocket::LocalSocketError error); 98 void connectionError(QLocalSocket::LocalSocketError error);
diff --git a/formattest.cpp b/formattest.cpp
index f12fd59..14eb550 100644
--- a/formattest.cpp
+++ b/formattest.cpp
@@ -116,10 +116,10 @@ public:
116 return (lastReplayedRevision >= topRevision); 116 return (lastReplayedRevision >= topRevision);
117 } 117 }
118 118
119Q_SIGNALS: 119signals:
120 void changesReplayed(); 120 void changesReplayed();
121 121
122public Q_SLOTS: 122public slots:
123 void revisionChanged() 123 void revisionChanged()
124 { 124 {
125 auto mainStoreTransaction = mStorage.createTransaction(Storage::ReadOnly); 125 auto mainStoreTransaction = mStorage.createTransaction(Storage::ReadOnly);
diff --git a/sinksh/repl/replStates.h b/sinksh/repl/replStates.h
index a0d3f90..0b14943 100644
--- a/sinksh/repl/replStates.h
+++ b/sinksh/repl/replStates.h
@@ -30,7 +30,7 @@ class ReadState : public QState
30public: 30public:
31 ReadState(QState *parent = 0); 31 ReadState(QState *parent = 0);
32 32
33Q_SIGNALS: 33signals:
34 void command(const QString &command); 34 void command(const QString &command);
35 void exitRequested(); 35 void exitRequested();
36 36
@@ -57,7 +57,7 @@ class EvalState : public QState
57public: 57public:
58 EvalState(QState *parent = 0); 58 EvalState(QState *parent = 0);
59 59
60Q_SIGNALS: 60signals:
61 void completed(); 61 void completed();
62 void continueInput(); 62 void continueInput();
63 void output(const QString &output); 63 void output(const QString &output);
@@ -78,7 +78,7 @@ class PrintState : public QState
78public: 78public:
79 PrintState(QState *parent = 0); 79 PrintState(QState *parent = 0);
80 80
81Q_SIGNALS: 81signals:
82 void completed(); 82 void completed();
83 83
84protected: 84protected:
diff --git a/tests/clientapitest.cpp b/tests/clientapitest.cpp
index 0e21ca6..879ffc4 100644
--- a/tests/clientapitest.cpp
+++ b/tests/clientapitest.cpp
@@ -79,7 +79,7 @@ public:
79class ClientAPITest : public QObject 79class ClientAPITest : public QObject
80{ 80{
81 Q_OBJECT 81 Q_OBJECT
82private Q_SLOTS: 82private slots:
83 83
84 void initTestCase() 84 void initTestCase()
85 { 85 {
diff --git a/tests/databasepopulationandfacadequerybenchmark.cpp b/tests/databasepopulationandfacadequerybenchmark.cpp
index ad3682e..16537c0 100644
--- a/tests/databasepopulationandfacadequerybenchmark.cpp
+++ b/tests/databasepopulationandfacadequerybenchmark.cpp
@@ -156,7 +156,7 @@ class DatabasePopulationAndFacadeQueryBenchmark : public QObject
156 // std::system("top -p \"$PPID\" -b -n 1"); 156 // std::system("top -p \"$PPID\" -b -n 1");
157 } 157 }
158 158
159private Q_SLOTS: 159private slots:
160 160
161 void init() 161 void init()
162 { 162 {
diff --git a/tests/domainadaptortest.cpp b/tests/domainadaptortest.cpp
index f523173..5939a31 100644
--- a/tests/domainadaptortest.cpp
+++ b/tests/domainadaptortest.cpp
@@ -28,7 +28,7 @@ public:
28class DomainAdaptorTest : public QObject 28class DomainAdaptorTest : public QObject
29{ 29{
30 Q_OBJECT 30 Q_OBJECT
31private Q_SLOTS: 31private slots:
32 void initTestCase() 32 void initTestCase()
33 { 33 {
34 } 34 }
diff --git a/tests/dummyresourcebenchmark.cpp b/tests/dummyresourcebenchmark.cpp
index 9afc775..77b87fb 100644
--- a/tests/dummyresourcebenchmark.cpp
+++ b/tests/dummyresourcebenchmark.cpp
@@ -30,7 +30,7 @@ class DummyResourceBenchmark : public QObject
30 Q_OBJECT 30 Q_OBJECT
31private: 31private:
32 int num; 32 int num;
33private Q_SLOTS: 33private slots:
34 void initTestCase() 34 void initTestCase()
35 { 35 {
36 Sink::Log::setDebugOutputLevel(Sink::Log::Warning); 36 Sink::Log::setDebugOutputLevel(Sink::Log::Warning);
diff --git a/tests/dummyresourcetest.cpp b/tests/dummyresourcetest.cpp
index 7d9ad24..8b5a8fa 100644
--- a/tests/dummyresourcetest.cpp
+++ b/tests/dummyresourcetest.cpp
@@ -23,7 +23,7 @@ class DummyResourceTest : public QObject
23 23
24 QTime time; 24 QTime time;
25 25
26private Q_SLOTS: 26private slots:
27 void initTestCase() 27 void initTestCase()
28 { 28 {
29 Sink::Log::setDebugOutputLevel(Sink::Log::Trace); 29 Sink::Log::setDebugOutputLevel(Sink::Log::Trace);
diff --git a/tests/dummyresourcewritebenchmark.cpp b/tests/dummyresourcewritebenchmark.cpp
index 6c05a1e..539d189 100644
--- a/tests/dummyresourcewritebenchmark.cpp
+++ b/tests/dummyresourcewritebenchmark.cpp
@@ -172,7 +172,7 @@ class DummyResourceWriteBenchmark : public QObject
172 } 172 }
173 173
174 174
175private Q_SLOTS: 175private slots:
176 void initTestCase() 176 void initTestCase()
177 { 177 {
178 Sink::Log::setDebugOutputLevel(Sink::Log::Warning); 178 Sink::Log::setDebugOutputLevel(Sink::Log::Warning);
diff --git a/tests/genericfacadetest.cpp b/tests/genericfacadetest.cpp
index 63e93f8..397bf6a 100644
--- a/tests/genericfacadetest.cpp
+++ b/tests/genericfacadetest.cpp
@@ -22,7 +22,7 @@
22class GenericFacadeTest : public QObject 22class GenericFacadeTest : public QObject
23{ 23{
24 Q_OBJECT 24 Q_OBJECT
25private Q_SLOTS: 25private slots:
26 26
27 void init() 27 void init()
28 { 28 {
diff --git a/tests/genericresourcebenchmark.cpp b/tests/genericresourcebenchmark.cpp
index 7f0d3a2..b3af6a6 100644
--- a/tests/genericresourcebenchmark.cpp
+++ b/tests/genericresourcebenchmark.cpp
@@ -85,7 +85,7 @@ public:
85class GenericResourceBenchmark : public QObject 85class GenericResourceBenchmark : public QObject
86{ 86{
87 Q_OBJECT 87 Q_OBJECT
88private Q_SLOTS: 88private slots:
89 89
90 void init() 90 void init()
91 { 91 {
diff --git a/tests/genericresourcetest.cpp b/tests/genericresourcetest.cpp
index 76c604e..a04c634 100644
--- a/tests/genericresourcetest.cpp
+++ b/tests/genericresourcetest.cpp
@@ -22,7 +22,7 @@
22class GenericResourceTest : public QObject 22class GenericResourceTest : public QObject
23{ 23{
24 Q_OBJECT 24 Q_OBJECT
25private Q_SLOTS: 25private slots:
26 26
27 void init() 27 void init()
28 { 28 {
diff --git a/tests/indextest.cpp b/tests/indextest.cpp
index a435e97..ce1fde7 100644
--- a/tests/indextest.cpp
+++ b/tests/indextest.cpp
@@ -13,7 +13,7 @@
13class IndexTest : public QObject 13class IndexTest : public QObject
14{ 14{
15 Q_OBJECT 15 Q_OBJECT
16private Q_SLOTS: 16private slots:
17 void initTestCase() 17 void initTestCase()
18 { 18 {
19 Sink::Storage store("./testindex", "org.kde.dummy.testindex", Sink::Storage::ReadWrite); 19 Sink::Storage store("./testindex", "org.kde.dummy.testindex", Sink::Storage::ReadWrite);
diff --git a/tests/inspectiontest.cpp b/tests/inspectiontest.cpp
index 79e5863..cdf62e6 100644
--- a/tests/inspectiontest.cpp
+++ b/tests/inspectiontest.cpp
@@ -16,7 +16,7 @@
16class InspectionTest : public QObject 16class InspectionTest : public QObject
17{ 17{
18 Q_OBJECT 18 Q_OBJECT
19private Q_SLOTS: 19private slots:
20 void initTestCase() 20 void initTestCase()
21 { 21 {
22 Sink::Log::setDebugOutputLevel(Sink::Log::Trace); 22 Sink::Log::setDebugOutputLevel(Sink::Log::Trace);
diff --git a/tests/maildirresourcetest.cpp b/tests/maildirresourcetest.cpp
index eefe1e9..d5f7f95 100644
--- a/tests/maildirresourcetest.cpp
+++ b/tests/maildirresourcetest.cpp
@@ -53,7 +53,7 @@ class MaildirResourceTest : public QObject
53 53
54 QTemporaryDir tempDir; 54 QTemporaryDir tempDir;
55 QString targetPath; 55 QString targetPath;
56private Q_SLOTS: 56private slots:
57 void initTestCase() 57 void initTestCase()
58 { 58 {
59 targetPath = tempDir.path() + "/maildir1/"; 59 targetPath = tempDir.path() + "/maildir1/";
diff --git a/tests/maildirsyncbenchmark.cpp b/tests/maildirsyncbenchmark.cpp
index 4f23524..7904a82 100644
--- a/tests/maildirsyncbenchmark.cpp
+++ b/tests/maildirsyncbenchmark.cpp
@@ -59,7 +59,7 @@ class MaildirSyncBenchmark : public QObject
59 QString targetPath; 59 QString targetPath;
60 HAWD::State mHawdState; 60 HAWD::State mHawdState;
61 61
62private Q_SLOTS: 62private slots:
63 void initTestCase() 63 void initTestCase()
64 { 64 {
65 targetPath = tempDir.path() + "/maildir1"; 65 targetPath = tempDir.path() + "/maildir1";
diff --git a/tests/mailquerybenchmark.cpp b/tests/mailquerybenchmark.cpp
index 4efd5cf..ea919ac 100644
--- a/tests/mailquerybenchmark.cpp
+++ b/tests/mailquerybenchmark.cpp
@@ -148,7 +148,7 @@ class MailQueryBenchmark : public QObject
148 // std::system("top -p \"$PPID\" -b -n 1"); 148 // std::system("top -p \"$PPID\" -b -n 1");
149 } 149 }
150 150
151private Q_SLOTS: 151private slots:
152 152
153 void init() 153 void init()
154 { 154 {
diff --git a/tests/messagequeuetest.cpp b/tests/messagequeuetest.cpp
index 454ace2..06a4ae6 100644
--- a/tests/messagequeuetest.cpp
+++ b/tests/messagequeuetest.cpp
@@ -14,7 +14,7 @@
14class MessageQueueTest : public QObject 14class MessageQueueTest : public QObject
15{ 15{
16 Q_OBJECT 16 Q_OBJECT
17private Q_SLOTS: 17private slots:
18 void initTestCase() 18 void initTestCase()
19 { 19 {
20 Sink::Log::setDebugOutputLevel(Sink::Log::Trace); 20 Sink::Log::setDebugOutputLevel(Sink::Log::Trace);
diff --git a/tests/modelinteractivitytest.cpp b/tests/modelinteractivitytest.cpp
index 3f6e697..ad23e0f 100644
--- a/tests/modelinteractivitytest.cpp
+++ b/tests/modelinteractivitytest.cpp
@@ -43,7 +43,7 @@ public:
43class ModelinteractivityTest : public QObject 43class ModelinteractivityTest : public QObject
44{ 44{
45 Q_OBJECT 45 Q_OBJECT
46private Q_SLOTS: 46private slots:
47 void initTestCase() 47 void initTestCase()
48 { 48 {
49 Sink::Log::setDebugOutputLevel(Sink::Log::Warning); 49 Sink::Log::setDebugOutputLevel(Sink::Log::Warning);
diff --git a/tests/pipelinebenchmark.cpp b/tests/pipelinebenchmark.cpp
index c0c5cb1..5743830 100644
--- a/tests/pipelinebenchmark.cpp
+++ b/tests/pipelinebenchmark.cpp
@@ -126,7 +126,7 @@ class PipelineBenchmark : public QObject
126 126
127 } 127 }
128 128
129private Q_SLOTS: 129private slots:
130 130
131 void init() 131 void init()
132 { 132 {
diff --git a/tests/pipelinetest.cpp b/tests/pipelinetest.cpp
index d6073dc..92b7554 100644
--- a/tests/pipelinetest.cpp
+++ b/tests/pipelinetest.cpp
@@ -179,7 +179,7 @@ public:
179class PipelineTest : public QObject 179class PipelineTest : public QObject
180{ 180{
181 Q_OBJECT 181 Q_OBJECT
182private Q_SLOTS: 182private slots:
183 void initTestCase() 183 void initTestCase()
184 { 184 {
185 Sink::Log::setDebugOutputLevel(Sink::Log::Trace); 185 Sink::Log::setDebugOutputLevel(Sink::Log::Trace);
diff --git a/tests/querytest.cpp b/tests/querytest.cpp
index f147c58..3bb0427 100644
--- a/tests/querytest.cpp
+++ b/tests/querytest.cpp
@@ -18,7 +18,7 @@
18class QueryTest : public QObject 18class QueryTest : public QObject
19{ 19{
20 Q_OBJECT 20 Q_OBJECT
21private Q_SLOTS: 21private slots:
22 void initTestCase() 22 void initTestCase()
23 { 23 {
24 Sink::Log::setDebugOutputLevel(Sink::Log::Trace); 24 Sink::Log::setDebugOutputLevel(Sink::Log::Trace);
diff --git a/tests/resourcecommunicationtest.cpp b/tests/resourcecommunicationtest.cpp
index f9ea3de..db8703e 100644
--- a/tests/resourcecommunicationtest.cpp
+++ b/tests/resourcecommunicationtest.cpp
@@ -11,7 +11,7 @@
11class ResourceCommunicationTest : public QObject 11class ResourceCommunicationTest : public QObject
12{ 12{
13 Q_OBJECT 13 Q_OBJECT
14private Q_SLOTS: 14private slots:
15 void testConnect() 15 void testConnect()
16 { 16 {
17 const QByteArray resourceIdentifier("test"); 17 const QByteArray resourceIdentifier("test");
diff --git a/tests/storagebenchmark.cpp b/tests/storagebenchmark.cpp
index 09cc336..8498df9 100644
--- a/tests/storagebenchmark.cpp
+++ b/tests/storagebenchmark.cpp
@@ -51,7 +51,7 @@ private:
51 QString filePath; 51 QString filePath;
52 const int count = 50000; 52 const int count = 50000;
53 53
54private Q_SLOTS: 54private slots:
55 void initTestCase() 55 void initTestCase()
56 { 56 {
57 Sink::Log::setDebugOutputLevel(Sink::Log::Warning); 57 Sink::Log::setDebugOutputLevel(Sink::Log::Warning);
diff --git a/tests/storagetest.cpp b/tests/storagetest.cpp
index b0db1ac..6341808 100644
--- a/tests/storagetest.cpp
+++ b/tests/storagetest.cpp
@@ -57,7 +57,7 @@ private:
57 return success && keyMatch; 57 return success && keyMatch;
58 } 58 }
59 59
60private Q_SLOTS: 60private slots:
61 void initTestCase() 61 void initTestCase()
62 { 62 {
63 testDataPath = "./testdb"; 63 testDataPath = "./testdb";
diff --git a/tests/testimplementations.h b/tests/testimplementations.h
index 234e99d..adfdab3 100644
--- a/tests/testimplementations.h
+++ b/tests/testimplementations.h
@@ -64,7 +64,7 @@ public:
64 KAsync::Job<void> sendCommand(int commandId, flatbuffers::FlatBufferBuilder &fbb) Q_DECL_OVERRIDE { return KAsync::null<void>(); } 64 KAsync::Job<void> sendCommand(int commandId, flatbuffers::FlatBufferBuilder &fbb) Q_DECL_OVERRIDE { return KAsync::null<void>(); }
65 KAsync::Job<void> synchronizeResource(bool remoteSync, bool localSync) Q_DECL_OVERRIDE { return KAsync::null<void>(); } 65 KAsync::Job<void> synchronizeResource(bool remoteSync, bool localSync) Q_DECL_OVERRIDE { return KAsync::null<void>(); }
66 66
67public Q_SLOTS: 67public slots:
68 void open() Q_DECL_OVERRIDE {} 68 void open() Q_DECL_OVERRIDE {}
69 void close() Q_DECL_OVERRIDE {} 69 void close() Q_DECL_OVERRIDE {}
70}; 70};