diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-20 19:07:07 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-20 19:07:07 +0100 |
commit | bdb01c2c068df326f5a8328ed1492ab1bea388c5 (patch) | |
tree | 25c2ee1b29bc481b6914c244ed9ca194b1415d16 /common/domain/folder.cpp | |
parent | 17e7ee40c9185c0505883853345fd6024c675b1a (diff) | |
download | sink-bdb01c2c068df326f5a8328ed1492ab1bea388c5.tar.gz sink-bdb01c2c068df326f5a8328ed1492ab1bea388c5.zip |
Renamed Akonadi2 to Sink
(except for documentation).
Diffstat (limited to 'common/domain/folder.cpp')
-rw-r--r-- | common/domain/folder.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/domain/folder.cpp b/common/domain/folder.cpp index 7934841..16b2ec9 100644 --- a/common/domain/folder.cpp +++ b/common/domain/folder.cpp | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | static QMutex sMutex; | 38 | static QMutex sMutex; |
39 | 39 | ||
40 | using namespace Akonadi2::ApplicationDomain; | 40 | using namespace Sink::ApplicationDomain; |
41 | 41 | ||
42 | static TypeIndex &getIndex() | 42 | static TypeIndex &getIndex() |
43 | { | 43 | { |
@@ -51,18 +51,18 @@ static TypeIndex &getIndex() | |||
51 | return *index; | 51 | return *index; |
52 | } | 52 | } |
53 | 53 | ||
54 | ResultSet TypeImplementation<Folder>::queryIndexes(const Akonadi2::Query &query, const QByteArray &resourceInstanceIdentifier, QSet<QByteArray> &appliedFilters, Akonadi2::Storage::Transaction &transaction) | 54 | ResultSet TypeImplementation<Folder>::queryIndexes(const Sink::Query &query, const QByteArray &resourceInstanceIdentifier, QSet<QByteArray> &appliedFilters, Sink::Storage::Transaction &transaction) |
55 | { | 55 | { |
56 | return getIndex().query(query, appliedFilters, transaction); | 56 | return getIndex().query(query, appliedFilters, transaction); |
57 | } | 57 | } |
58 | 58 | ||
59 | void TypeImplementation<Folder>::index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Akonadi2::Storage::Transaction &transaction) | 59 | void TypeImplementation<Folder>::index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction) |
60 | { | 60 | { |
61 | Trace() << "Indexing " << identifier; | 61 | Trace() << "Indexing " << identifier; |
62 | getIndex().add(identifier, bufferAdaptor, transaction); | 62 | getIndex().add(identifier, bufferAdaptor, transaction); |
63 | } | 63 | } |
64 | 64 | ||
65 | void TypeImplementation<Folder>::removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Akonadi2::Storage::Transaction &transaction) | 65 | void TypeImplementation<Folder>::removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction) |
66 | { | 66 | { |
67 | getIndex().remove(identifier, bufferAdaptor, transaction); | 67 | getIndex().remove(identifier, bufferAdaptor, transaction); |
68 | } | 68 | } |