summaryrefslogtreecommitdiffstats
path: root/common/index.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/index.h')
-rw-r--r--common/index.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/index.h b/common/index.h
index bfedf9a..cfcc7a0 100644
--- a/common/index.h
+++ b/common/index.h
@@ -29,8 +29,8 @@ public:
29 int code; 29 int code;
30 }; 30 };
31 31
32 Index(const QString &storageRoot, const QString &name, Sink::Storage::AccessMode mode = Sink::Storage::ReadOnly); 32 Index(const QString &storageRoot, const QString &name, Sink::Storage::DataStore::AccessMode mode = Sink::Storage::DataStore::ReadOnly);
33 Index(const QByteArray &name, Sink::Storage::Transaction &); 33 Index(const QByteArray &name, Sink::Storage::DataStore::Transaction &);
34 34
35 void add(const QByteArray &key, const QByteArray &value); 35 void add(const QByteArray &key, const QByteArray &value);
36 void remove(const QByteArray &key, const QByteArray &value); 36 void remove(const QByteArray &key, const QByteArray &value);
@@ -41,8 +41,8 @@ public:
41 41
42private: 42private:
43 Q_DISABLE_COPY(Index); 43 Q_DISABLE_COPY(Index);
44 Sink::Storage::Transaction mTransaction; 44 Sink::Storage::DataStore::Transaction mTransaction;
45 Sink::Storage::NamedDatabase mDb; 45 Sink::Storage::DataStore::NamedDatabase mDb;
46 QString mName; 46 QString mName;
47 SINK_DEBUG_COMPONENT(mName.toLatin1()) 47 SINK_DEBUG_COMPONENT(mName.toLatin1())
48}; 48};