summaryrefslogtreecommitdiffstats
path: root/common/genericresource.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-13 01:27:21 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-13 01:27:21 +0200
commitb6d5d206de4d02149c6530236154283bf834087a (patch)
tree0d57764b674df3ffee1df3f3e9fb1690ae06bbdc /common/genericresource.cpp
parent7c9ae062101b5dc8f963c70fb753f8346a9b5c48 (diff)
downloadsink-b6d5d206de4d02149c6530236154283bf834087a.tar.gz
sink-b6d5d206de4d02149c6530236154283bf834087a.zip
Untangled the include dependencies a bit.
We no longer depend on clientapi.h from everywhere.
Diffstat (limited to 'common/genericresource.cpp')
-rw-r--r--common/genericresource.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/genericresource.cpp b/common/genericresource.cpp
index 734c1b5..a86b518 100644
--- a/common/genericresource.cpp
+++ b/common/genericresource.cpp
@@ -6,9 +6,9 @@
6#include "createentity_generated.h" 6#include "createentity_generated.h"
7#include "domainadaptor.h" 7#include "domainadaptor.h"
8#include "commands.h" 8#include "commands.h"
9#include "clientapi.h"
10#include "index.h" 9#include "index.h"
11#include "log.h" 10#include "log.h"
11#include "definitions.h"
12 12
13using namespace Akonadi2; 13using namespace Akonadi2;
14 14
@@ -154,8 +154,8 @@ private:
154 154
155GenericResource::GenericResource(const QByteArray &resourceInstanceIdentifier, const QSharedPointer<Pipeline> &pipeline) 155GenericResource::GenericResource(const QByteArray &resourceInstanceIdentifier, const QSharedPointer<Pipeline> &pipeline)
156 : Akonadi2::Resource(), 156 : Akonadi2::Resource(),
157 mUserQueue(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/akonadi2/storage", resourceInstanceIdentifier + ".userqueue"), 157 mUserQueue(Akonadi2::storageLocation(), resourceInstanceIdentifier + ".userqueue"),
158 mSynchronizerQueue(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/akonadi2/storage", resourceInstanceIdentifier + ".synchronizerqueue"), 158 mSynchronizerQueue(Akonadi2::storageLocation(), resourceInstanceIdentifier + ".synchronizerqueue"),
159 mResourceInstanceIdentifier(resourceInstanceIdentifier), 159 mResourceInstanceIdentifier(resourceInstanceIdentifier),
160 mPipeline(pipeline ? pipeline : QSharedPointer<Akonadi2::Pipeline>::create(resourceInstanceIdentifier)), 160 mPipeline(pipeline ? pipeline : QSharedPointer<Akonadi2::Pipeline>::create(resourceInstanceIdentifier)),
161 mError(0) 161 mError(0)