summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Seigo <aseigo@kde.org>2014-12-04 21:13:08 +0100
committerAaron Seigo <aseigo@kde.org>2014-12-04 21:13:08 +0100
commitcec2b706698aa25daeb16bae8e8586aec72be747 (patch)
treeb4c77e047af559d66c43b5a67f84c87b84ca107a
parent6081493b35855090a965aa4f81d07253458179b7 (diff)
downloadsink-cec2b706698aa25daeb16bae8e8586aec72be747.tar.gz
sink-cec2b706698aa25daeb16bae8e8586aec72be747.zip
add a standard storage location
-rw-r--r--client/clientapi.h6
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 */
278class Store { 279class Store {
279public: 280public:
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 */