diff options
Diffstat (limited to 'common/index.h')
-rw-r--r-- | common/index.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/index.h b/common/index.h index 08b499f..e1b7e3a 100644 --- a/common/index.h +++ b/common/index.h | |||
@@ -26,6 +26,7 @@ public: | |||
26 | }; | 26 | }; |
27 | 27 | ||
28 | Index(const QString &storageRoot, const QString &name, Akonadi2::Storage::AccessMode mode = Akonadi2::Storage::ReadOnly); | 28 | Index(const QString &storageRoot, const QString &name, Akonadi2::Storage::AccessMode mode = Akonadi2::Storage::ReadOnly); |
29 | Index(const QByteArray &name, Akonadi2::Storage::Transaction &); | ||
29 | 30 | ||
30 | void add(const QByteArray &key, const QByteArray &value); | 31 | void add(const QByteArray &key, const QByteArray &value); |
31 | // void remove(const QByteArray &key, const QByteArray &value); | 32 | // void remove(const QByteArray &key, const QByteArray &value); |
@@ -35,5 +36,6 @@ public: | |||
35 | 36 | ||
36 | private: | 37 | private: |
37 | Q_DISABLE_COPY(Index); | 38 | Q_DISABLE_COPY(Index); |
38 | Akonadi2::Storage mStorage; | 39 | Akonadi2::Storage::Transaction mTransaction; |
40 | Akonadi2::Storage::NamedDatabase mDb; | ||
39 | }; | 41 | }; |