diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-17 13:27:56 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-17 13:27:56 +0100 |
commit | 19f2cbb9566eddac697c673eed63c0e946f330a6 (patch) | |
tree | fc5b25ece35bac0e9bf94e1e6fe081cbc2ad07d0 | |
parent | 65e483c178a1980eb36e7b8efb8a76c7112f209e (diff) | |
download | sink-19f2cbb9566eddac697c673eed63c0e946f330a6.tar.gz sink-19f2cbb9566eddac697c673eed63c0e946f330a6.zip |
Use slots/signals instead of Q_SLOTS/Q_SIGNALS for clang-format compatibility
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 | ||
73 | Q_SIGNALS: | 73 | signals: |
74 | void changesReplayed(); | 74 | void changesReplayed(); |
75 | 75 | ||
76 | public Q_SLOTS: | 76 | public 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 | ||
59 | private Q_SLOTS: | 59 | private slots: |
60 | void updateLowerBoundRevision(); | 60 | void updateLowerBoundRevision(); |
61 | 61 | ||
62 | protected: | 62 | protected: |
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 | ||
68 | Q_SIGNALS: | 68 | signals: |
69 | void noClients(); | 69 | void noClients(); |
70 | 70 | ||
71 | public Q_SLOTS: | 71 | public slots: |
72 | void closeAllConnections(); | 72 | void closeAllConnections(); |
73 | 73 | ||
74 | private Q_SLOTS: | 74 | private 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 | ||
72 | Q_SIGNALS: | 72 | signals: |
73 | void revisionUpdated(qint64); | 73 | void revisionUpdated(qint64); |
74 | 74 | ||
75 | private: | 75 | private: |
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 | ||
63 | Q_SIGNALS: | 63 | signals: |
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 | ||
56 | Q_SIGNALS: | 56 | signals: |
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 | ||
61 | public Q_SLOTS: | 61 | public 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 | ||
91 | public Q_SLOTS: | 91 | public 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 | ||
95 | private Q_SLOTS: | 95 | private 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 | ||
119 | Q_SIGNALS: | 119 | signals: |
120 | void changesReplayed(); | 120 | void changesReplayed(); |
121 | 121 | ||
122 | public Q_SLOTS: | 122 | public 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 | |||
30 | public: | 30 | public: |
31 | ReadState(QState *parent = 0); | 31 | ReadState(QState *parent = 0); |
32 | 32 | ||
33 | Q_SIGNALS: | 33 | signals: |
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 | |||
57 | public: | 57 | public: |
58 | EvalState(QState *parent = 0); | 58 | EvalState(QState *parent = 0); |
59 | 59 | ||
60 | Q_SIGNALS: | 60 | signals: |
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 | |||
78 | public: | 78 | public: |
79 | PrintState(QState *parent = 0); | 79 | PrintState(QState *parent = 0); |
80 | 80 | ||
81 | Q_SIGNALS: | 81 | signals: |
82 | void completed(); | 82 | void completed(); |
83 | 83 | ||
84 | protected: | 84 | protected: |
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: | |||
79 | class ClientAPITest : public QObject | 79 | class ClientAPITest : public QObject |
80 | { | 80 | { |
81 | Q_OBJECT | 81 | Q_OBJECT |
82 | private Q_SLOTS: | 82 | private 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 | ||
159 | private Q_SLOTS: | 159 | private 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: | |||
28 | class DomainAdaptorTest : public QObject | 28 | class DomainAdaptorTest : public QObject |
29 | { | 29 | { |
30 | Q_OBJECT | 30 | Q_OBJECT |
31 | private Q_SLOTS: | 31 | private 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 |
31 | private: | 31 | private: |
32 | int num; | 32 | int num; |
33 | private Q_SLOTS: | 33 | private 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 | ||
26 | private Q_SLOTS: | 26 | private 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 | ||
175 | private Q_SLOTS: | 175 | private 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 @@ | |||
22 | class GenericFacadeTest : public QObject | 22 | class GenericFacadeTest : public QObject |
23 | { | 23 | { |
24 | Q_OBJECT | 24 | Q_OBJECT |
25 | private Q_SLOTS: | 25 | private 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: | |||
85 | class GenericResourceBenchmark : public QObject | 85 | class GenericResourceBenchmark : public QObject |
86 | { | 86 | { |
87 | Q_OBJECT | 87 | Q_OBJECT |
88 | private Q_SLOTS: | 88 | private 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 @@ | |||
22 | class GenericResourceTest : public QObject | 22 | class GenericResourceTest : public QObject |
23 | { | 23 | { |
24 | Q_OBJECT | 24 | Q_OBJECT |
25 | private Q_SLOTS: | 25 | private 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 @@ | |||
13 | class IndexTest : public QObject | 13 | class IndexTest : public QObject |
14 | { | 14 | { |
15 | Q_OBJECT | 15 | Q_OBJECT |
16 | private Q_SLOTS: | 16 | private 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 @@ | |||
16 | class InspectionTest : public QObject | 16 | class InspectionTest : public QObject |
17 | { | 17 | { |
18 | Q_OBJECT | 18 | Q_OBJECT |
19 | private Q_SLOTS: | 19 | private 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; |
56 | private Q_SLOTS: | 56 | private 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 | ||
62 | private Q_SLOTS: | 62 | private 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 | ||
151 | private Q_SLOTS: | 151 | private 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 @@ | |||
14 | class MessageQueueTest : public QObject | 14 | class MessageQueueTest : public QObject |
15 | { | 15 | { |
16 | Q_OBJECT | 16 | Q_OBJECT |
17 | private Q_SLOTS: | 17 | private 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: | |||
43 | class ModelinteractivityTest : public QObject | 43 | class ModelinteractivityTest : public QObject |
44 | { | 44 | { |
45 | Q_OBJECT | 45 | Q_OBJECT |
46 | private Q_SLOTS: | 46 | private 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 | ||
129 | private Q_SLOTS: | 129 | private 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: | |||
179 | class PipelineTest : public QObject | 179 | class PipelineTest : public QObject |
180 | { | 180 | { |
181 | Q_OBJECT | 181 | Q_OBJECT |
182 | private Q_SLOTS: | 182 | private 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 @@ | |||
18 | class QueryTest : public QObject | 18 | class QueryTest : public QObject |
19 | { | 19 | { |
20 | Q_OBJECT | 20 | Q_OBJECT |
21 | private Q_SLOTS: | 21 | private 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 @@ | |||
11 | class ResourceCommunicationTest : public QObject | 11 | class ResourceCommunicationTest : public QObject |
12 | { | 12 | { |
13 | Q_OBJECT | 13 | Q_OBJECT |
14 | private Q_SLOTS: | 14 | private 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 | ||
54 | private Q_SLOTS: | 54 | private 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 | ||
60 | private Q_SLOTS: | 60 | private 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 | ||
67 | public Q_SLOTS: | 67 | public 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 | }; |