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/mail.cpp | |
parent | 17e7ee40c9185c0505883853345fd6024c675b1a (diff) | |
download | sink-bdb01c2c068df326f5a8328ed1492ab1bea388c5.tar.gz sink-bdb01c2c068df326f5a8328ed1492ab1bea388c5.zip |
Renamed Akonadi2 to Sink
(except for documentation).
Diffstat (limited to 'common/domain/mail.cpp')
-rw-r--r-- | common/domain/mail.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/domain/mail.cpp b/common/domain/mail.cpp index 8875d88..518331f 100644 --- a/common/domain/mail.cpp +++ b/common/domain/mail.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 | { |
@@ -55,18 +55,18 @@ static TypeIndex &getIndex() | |||
55 | return *index; | 55 | return *index; |
56 | } | 56 | } |
57 | 57 | ||
58 | ResultSet TypeImplementation<Mail>::queryIndexes(const Akonadi2::Query &query, const QByteArray &resourceInstanceIdentifier, QSet<QByteArray> &appliedFilters, Akonadi2::Storage::Transaction &transaction) | 58 | ResultSet TypeImplementation<Mail>::queryIndexes(const Sink::Query &query, const QByteArray &resourceInstanceIdentifier, QSet<QByteArray> &appliedFilters, Sink::Storage::Transaction &transaction) |
59 | { | 59 | { |
60 | return getIndex().query(query, appliedFilters, transaction); | 60 | return getIndex().query(query, appliedFilters, transaction); |
61 | } | 61 | } |
62 | 62 | ||
63 | void TypeImplementation<Mail>::index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Akonadi2::Storage::Transaction &transaction) | 63 | void TypeImplementation<Mail>::index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction) |
64 | { | 64 | { |
65 | Trace() << "Indexing " << identifier; | 65 | Trace() << "Indexing " << identifier; |
66 | getIndex().add(identifier, bufferAdaptor, transaction); | 66 | getIndex().add(identifier, bufferAdaptor, transaction); |
67 | } | 67 | } |
68 | 68 | ||
69 | void TypeImplementation<Mail>::removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Akonadi2::Storage::Transaction &transaction) | 69 | void TypeImplementation<Mail>::removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction) |
70 | { | 70 | { |
71 | getIndex().remove(identifier, bufferAdaptor, transaction); | 71 | getIndex().remove(identifier, bufferAdaptor, transaction); |
72 | } | 72 | } |