diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-04 21:13:08 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2014-12-04 23:04:20 +0100 |
commit | 276e9900844f5f6f5de2f2ca777c420e6a5b2a01 (patch) | |
tree | 0e0f7b3cf9deb27f138bf4d5a3a29991b97b697f /client/clientapi.h | |
parent | c6492ea67989aad4d051eeb64bc97b3c2545a361 (diff) | |
download | sink-276e9900844f5f6f5de2f2ca777c420e6a5b2a01.tar.gz sink-276e9900844f5f6f5de2f2ca777c420e6a5b2a01.zip |
add a standard storage location
Diffstat (limited to 'client/clientapi.h')
-rw-r--r-- | client/clientapi.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/clientapi.h b/client/clientapi.h index 44fc98b..59efe32 100644 --- a/client/clientapi.h +++ b/client/clientapi.h | |||
@@ -3,6 +3,7 @@ | |||
3 | #include <QString> | 3 | #include <QString> |
4 | #include <QSet> | 4 | #include <QSet> |
5 | #include <QSharedPointer> | 5 | #include <QSharedPointer> |
6 | #include <QStandardPaths> | ||
6 | #include <QTimer> | 7 | #include <QTimer> |
7 | #include <QDebug> | 8 | #include <QDebug> |
8 | #include <functional> | 9 | #include <functional> |
@@ -277,6 +278,11 @@ private: | |||
277 | */ | 278 | */ |
278 | class Store { | 279 | class Store { |
279 | public: | 280 | public: |
281 | static QString storageLocation() | ||
282 | { | ||
283 | return QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/akonadi2"; | ||
284 | } | ||
285 | |||
280 | /** | 286 | /** |
281 | * Asynchronusly load a dataset | 287 | * Asynchronusly load a dataset |
282 | */ | 288 | */ |