diff options
Diffstat (limited to 'examples/dummyresource/resourcefactory.h')
-rw-r--r-- | examples/dummyresource/resourcefactory.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/dummyresource/resourcefactory.h b/examples/dummyresource/resourcefactory.h index 7b7783e..f5caf61 100644 --- a/examples/dummyresource/resourcefactory.h +++ b/examples/dummyresource/resourcefactory.h | |||
@@ -20,9 +20,10 @@ | |||
20 | #pragma once | 20 | #pragma once |
21 | 21 | ||
22 | #include "common/genericresource.h" | 22 | #include "common/genericresource.h" |
23 | #include "async/src/async.h" | ||
24 | #include "common/messagequeue.h" | 23 | #include "common/messagequeue.h" |
25 | 24 | ||
25 | #include <Async/Async> | ||
26 | |||
26 | #include <flatbuffers/flatbuffers.h> | 27 | #include <flatbuffers/flatbuffers.h> |
27 | 28 | ||
28 | //TODO: a little ugly to have this in two places, once here and once in Q_PLUGIN_METADATA | 29 | //TODO: a little ugly to have this in two places, once here and once in Q_PLUGIN_METADATA |
@@ -32,7 +33,7 @@ class DummyResource : public Akonadi2::GenericResource | |||
32 | { | 33 | { |
33 | public: | 34 | public: |
34 | DummyResource(); | 35 | DummyResource(); |
35 | Async::Job<void> synchronizeWithSource(Akonadi2::Pipeline *pipeline) Q_DECL_OVERRIDE; | 36 | KAsync::Job<void> synchronizeWithSource(Akonadi2::Pipeline *pipeline) Q_DECL_OVERRIDE; |
36 | void configurePipeline(Akonadi2::Pipeline *pipeline) Q_DECL_OVERRIDE; | 37 | void configurePipeline(Akonadi2::Pipeline *pipeline) Q_DECL_OVERRIDE; |
37 | }; | 38 | }; |
38 | 39 | ||