summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
-rw-r--r--common/CMakeLists.txt2
-rw-r--r--common/asyncutils.h2
-rw-r--r--common/changereplay.h2
-rw-r--r--common/commandprocessor.h2
-rw-r--r--common/facade.h2
-rw-r--r--common/facadeinterface.h2
-rw-r--r--common/inspector.h2
-rw-r--r--common/messagequeue.h2
-rw-r--r--common/notifier.h2
-rw-r--r--common/pipeline.h2
-rw-r--r--common/resource.h2
-rw-r--r--common/resourceaccess.h2
-rw-r--r--common/resourcecontrol.h2
-rw-r--r--common/resourcefacade.h2
-rw-r--r--common/store.h2
-rw-r--r--examples/davresource/davresource.h2
-rw-r--r--examples/dummyresource/resourcefactory.h2
-rw-r--r--examples/imapresource/imapresource.h2
-rw-r--r--examples/imapresource/imapserverproxy.h2
-rw-r--r--examples/maildirresource/maildirresource.h2
-rw-r--r--synchronizer/CMakeLists.txt2
-rw-r--r--tests/testimplementations.h2
23 files changed, 24 insertions, 23 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e8e90fa..a76fdcb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,8 +26,9 @@ include(ECMSetupVersion)
26include(KDEInstallDirs) 26include(KDEInstallDirs)
27 27
28find_package(Qt5 COMPONENTS REQUIRED Core Network Gui) 28find_package(Qt5 COMPONENTS REQUIRED Core Network Gui)
29find_package(KF5 COMPONENTS REQUIRED Async Mime Contacts) 29find_package(KF5 COMPONENTS REQUIRED Mime Contacts)
30find_package(FlatBuffers REQUIRED) 30find_package(FlatBuffers REQUIRED)
31find_package(KAsync REQUIRED 0.1.0)
31 32
32find_program(MEMORYCHECK_COMMAND valgrind) 33find_program(MEMORYCHECK_COMMAND valgrind)
33set(MEMORYCHECK_COMMAND_OPTIONS "--trace-children=yes --leak-check=full") 34set(MEMORYCHECK_COMMAND_OPTIONS "--trace-children=yes --leak-check=full")
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt
index 34e48c6..b5275e0 100644
--- a/common/CMakeLists.txt
+++ b/common/CMakeLists.txt
@@ -122,7 +122,7 @@ qt5_use_modules(${PROJECT_NAME} LINK_PUBLIC Network)
122qt5_use_modules(${PROJECT_NAME} LINK_PRIVATE Gui) 122qt5_use_modules(${PROJECT_NAME} LINK_PRIVATE Gui)
123target_link_libraries(${PROJECT_NAME} 123target_link_libraries(${PROJECT_NAME}
124PUBLIC 124PUBLIC
125 KF5::Async 125 KAsync
126PRIVATE 126PRIVATE
127 ${storage_LIBS} 127 ${storage_LIBS}
128 KF5::Mime 128 KF5::Mime
diff --git a/common/asyncutils.h b/common/asyncutils.h
index 6cbcee8..7b62eb2 100644
--- a/common/asyncutils.h
+++ b/common/asyncutils.h
@@ -18,7 +18,7 @@
18*/ 18*/
19#pragma once 19#pragma once
20 20
21#include <Async/Async> 21#include <KAsync/Async>
22#include <QtConcurrent/QtConcurrentRun> 22#include <QtConcurrent/QtConcurrentRun>
23#include <QFuture> 23#include <QFuture>
24#include <QFutureWatcher> 24#include <QFutureWatcher>
diff --git a/common/changereplay.h b/common/changereplay.h
index 4ec115c..3ca896e 100644
--- a/common/changereplay.h
+++ b/common/changereplay.h
@@ -21,7 +21,7 @@
21 21
22#include "sink_export.h" 22#include "sink_export.h"
23#include <QObject> 23#include <QObject>
24#include <Async/Async> 24#include <KAsync/Async>
25 25
26#include "storage.h" 26#include "storage.h"
27#include "resourcecontext.h" 27#include "resourcecontext.h"
diff --git a/common/commandprocessor.h b/common/commandprocessor.h
index a4beed6..f3a0742 100644
--- a/common/commandprocessor.h
+++ b/common/commandprocessor.h
@@ -23,7 +23,7 @@
23 23
24#include <QObject> 24#include <QObject>
25#include <QTimer> 25#include <QTimer>
26#include <Async/Async> 26#include <KAsync/Async>
27#include <functional> 27#include <functional>
28 28
29#include "log.h" 29#include "log.h"
diff --git a/common/facade.h b/common/facade.h
index 2149acd..45c718b 100644
--- a/common/facade.h
+++ b/common/facade.h
@@ -23,7 +23,7 @@
23#include "facadeinterface.h" 23#include "facadeinterface.h"
24 24
25#include <QByteArray> 25#include <QByteArray>
26#include <Async/Async> 26#include <KAsync/Async>
27 27
28#include "resourceaccess.h" 28#include "resourceaccess.h"
29#include "domaintypeadaptorfactoryinterface.h" 29#include "domaintypeadaptorfactoryinterface.h"
diff --git a/common/facadeinterface.h b/common/facadeinterface.h
index 26a8407..6b3ce4c 100644
--- a/common/facadeinterface.h
+++ b/common/facadeinterface.h
@@ -20,7 +20,7 @@
20 20
21#pragma once 21#pragma once
22 22
23#include <Async/Async> 23#include <KAsync/Async>
24#include <QByteArray> 24#include <QByteArray>
25#include <QSharedPointer> 25#include <QSharedPointer>
26#include <QPair> 26#include <QPair>
diff --git a/common/inspector.h b/common/inspector.h
index a746f03..5ee995e 100644
--- a/common/inspector.h
+++ b/common/inspector.h
@@ -21,7 +21,7 @@
21 21
22#include "sink_export.h" 22#include "sink_export.h"
23#include <QObject> 23#include <QObject>
24#include <Async/Async> 24#include <KAsync/Async>
25 25
26#include "notification.h" 26#include "notification.h"
27#include "resourcecontext.h" 27#include "resourcecontext.h"
diff --git a/common/messagequeue.h b/common/messagequeue.h
index f23ddcf..a2b7226 100644
--- a/common/messagequeue.h
+++ b/common/messagequeue.h
@@ -6,7 +6,7 @@
6#include <string> 6#include <string>
7#include <functional> 7#include <functional>
8#include <QString> 8#include <QString>
9#include <Async/Async> 9#include <KAsync/Async>
10#include "storage.h" 10#include "storage.h"
11 11
12/** 12/**
diff --git a/common/notifier.h b/common/notifier.h
index df8f34b..290458a 100644
--- a/common/notifier.h
+++ b/common/notifier.h
@@ -24,7 +24,7 @@
24#include <QByteArray> 24#include <QByteArray>
25#include <QSharedPointer> 25#include <QSharedPointer>
26 26
27#include <Async/Async> 27#include <KAsync/Async>
28 28
29class QAbstractItemModel; 29class QAbstractItemModel;
30 30
diff --git a/common/pipeline.h b/common/pipeline.h
index c9982b7..c6dc5fe 100644
--- a/common/pipeline.h
+++ b/common/pipeline.h
@@ -29,7 +29,7 @@
29#include "sink_export.h" 29#include "sink_export.h"
30#include <storage.h> 30#include <storage.h>
31 31
32#include <Async/Async> 32#include <KAsync/Async>
33 33
34#include <bufferadaptor.h> 34#include <bufferadaptor.h>
35#include <resourcecontext.h> 35#include <resourcecontext.h>
diff --git a/common/resource.h b/common/resource.h
index 046f236..a50ffb5 100644
--- a/common/resource.h
+++ b/common/resource.h
@@ -21,7 +21,7 @@
21 21
22#include "sink_export.h" 22#include "sink_export.h"
23 23
24#include <Async/Async> 24#include <KAsync/Async>
25#include "notification.h" 25#include "notification.h"
26 26
27namespace Sink { 27namespace Sink {
diff --git a/common/resourceaccess.h b/common/resourceaccess.h
index e0e9545..c32566b 100644
--- a/common/resourceaccess.h
+++ b/common/resourceaccess.h
@@ -25,7 +25,7 @@
25#include <QObject> 25#include <QObject>
26#include <QTimer> 26#include <QTimer>
27 27
28#include <Async/Async> 28#include <KAsync/Async>
29 29
30#include <flatbuffers/flatbuffers.h> 30#include <flatbuffers/flatbuffers.h>
31#include "notification.h" 31#include "notification.h"
diff --git a/common/resourcecontrol.h b/common/resourcecontrol.h
index b910441..d063db7 100644
--- a/common/resourcecontrol.h
+++ b/common/resourcecontrol.h
@@ -23,7 +23,7 @@
23#include "sink_export.h" 23#include "sink_export.h"
24#include <QByteArray> 24#include <QByteArray>
25 25
26#include <Async/Async> 26#include <KAsync/Async>
27 27
28#include "inspection.h" 28#include "inspection.h"
29#include "flush.h" 29#include "flush.h"
diff --git a/common/resourcefacade.h b/common/resourcefacade.h
index f72132d..1cc075c 100644
--- a/common/resourcefacade.h
+++ b/common/resourcefacade.h
@@ -21,7 +21,7 @@
21 21
22#include "common/facadeinterface.h" 22#include "common/facadeinterface.h"
23 23
24#include <Async/Async> 24#include <KAsync/Async>
25#include "common/resultprovider.h" 25#include "common/resultprovider.h"
26#include "common/domain/applicationdomaintype.h" 26#include "common/domain/applicationdomaintype.h"
27#include "common/configstore.h" 27#include "common/configstore.h"
diff --git a/common/store.h b/common/store.h
index f787a3e..86e4d20 100644
--- a/common/store.h
+++ b/common/store.h
@@ -24,7 +24,7 @@
24#include <QString> 24#include <QString>
25#include <QSharedPointer> 25#include <QSharedPointer>
26 26
27#include <Async/Async> 27#include <KAsync/Async>
28 28
29#include "query.h" 29#include "query.h"
30#include "applicationdomaintype.h" 30#include "applicationdomaintype.h"
diff --git a/examples/davresource/davresource.h b/examples/davresource/davresource.h
index 3b228c2..415527a 100644
--- a/examples/davresource/davresource.h
+++ b/examples/davresource/davresource.h
@@ -22,7 +22,7 @@
22#include "common/genericresource.h" 22#include "common/genericresource.h"
23 23
24#include <KDAV/DavUrl> 24#include <KDAV/DavUrl>
25#include <Async/Async> 25#include <KAsync/Async>
26 26
27#include <flatbuffers/flatbuffers.h> 27#include <flatbuffers/flatbuffers.h>
28 28
diff --git a/examples/dummyresource/resourcefactory.h b/examples/dummyresource/resourcefactory.h
index bc35d82..cfc6577 100644
--- a/examples/dummyresource/resourcefactory.h
+++ b/examples/dummyresource/resourcefactory.h
@@ -22,7 +22,7 @@
22#include "common/genericresource.h" 22#include "common/genericresource.h"
23#include "common/messagequeue.h" 23#include "common/messagequeue.h"
24 24
25#include <Async/Async> 25#include <KAsync/Async>
26 26
27#include <flatbuffers/flatbuffers.h> 27#include <flatbuffers/flatbuffers.h>
28 28
diff --git a/examples/imapresource/imapresource.h b/examples/imapresource/imapresource.h
index aeb1200..3b8b670 100644
--- a/examples/imapresource/imapresource.h
+++ b/examples/imapresource/imapresource.h
@@ -21,7 +21,7 @@
21 21
22#include "common/genericresource.h" 22#include "common/genericresource.h"
23 23
24#include <Async/Async> 24#include <KAsync/Async>
25 25
26#include <flatbuffers/flatbuffers.h> 26#include <flatbuffers/flatbuffers.h>
27 27
diff --git a/examples/imapresource/imapserverproxy.h b/examples/imapresource/imapserverproxy.h
index a8d5ac1..6eb47ee 100644
--- a/examples/imapresource/imapserverproxy.h
+++ b/examples/imapresource/imapserverproxy.h
@@ -19,7 +19,7 @@
19 19
20#pragma once 20#pragma once
21 21
22#include <Async/Async> 22#include <KAsync/Async>
23 23
24#include <KMime/KMime/KMimeMessage> 24#include <KMime/KMime/KMimeMessage>
25#include <KIMAP2/ListJob> 25#include <KIMAP2/ListJob>
diff --git a/examples/maildirresource/maildirresource.h b/examples/maildirresource/maildirresource.h
index 61fe438..8ceb2f5 100644
--- a/examples/maildirresource/maildirresource.h
+++ b/examples/maildirresource/maildirresource.h
@@ -21,7 +21,7 @@
21 21
22#include "common/genericresource.h" 22#include "common/genericresource.h"
23 23
24#include <Async/Async> 24#include <KAsync/Async>
25 25
26#include <flatbuffers/flatbuffers.h> 26#include <flatbuffers/flatbuffers.h>
27 27
diff --git a/synchronizer/CMakeLists.txt b/synchronizer/CMakeLists.txt
index 1422105..ff9ec86 100644
--- a/synchronizer/CMakeLists.txt
+++ b/synchronizer/CMakeLists.txt
@@ -7,6 +7,6 @@ set(sinksynchronizer_SRCS
7) 7)
8 8
9add_executable(${PROJECT_NAME} ${sinksynchronizer_SRCS}) 9add_executable(${PROJECT_NAME} ${sinksynchronizer_SRCS})
10target_link_libraries(${PROJECT_NAME} sink KF5::Async ${CMAKE_DL_LIBS}) 10target_link_libraries(${PROJECT_NAME} sink KAsync ${CMAKE_DL_LIBS})
11qt5_use_modules(${PROJECT_NAME} Network) 11qt5_use_modules(${PROJECT_NAME} Network)
12install(TARGETS ${PROJECT_NAME} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 12install(TARGETS ${PROJECT_NAME} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
diff --git a/tests/testimplementations.h b/tests/testimplementations.h
index d1a912a..a145265 100644
--- a/tests/testimplementations.h
+++ b/tests/testimplementations.h
@@ -19,7 +19,7 @@
19 */ 19 */
20#pragma once 20#pragma once
21 21
22#include <Async/Async> 22#include <KAsync/Async>
23 23
24#include <common/domainadaptor.h> 24#include <common/domainadaptor.h>
25#include <common/resultprovider.h> 25#include <common/resultprovider.h>