summaryrefslogtreecommitdiffstats
path: root/common/domain/mail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/domain/mail.cpp')
-rw-r--r--common/domain/mail.cpp8
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
38static QMutex sMutex; 38static QMutex sMutex;
39 39
40using namespace Akonadi2::ApplicationDomain; 40using namespace Sink::ApplicationDomain;
41 41
42static TypeIndex &getIndex() 42static TypeIndex &getIndex()
43{ 43{
@@ -55,18 +55,18 @@ static TypeIndex &getIndex()
55 return *index; 55 return *index;
56} 56}
57 57
58ResultSet TypeImplementation<Mail>::queryIndexes(const Akonadi2::Query &query, const QByteArray &resourceInstanceIdentifier, QSet<QByteArray> &appliedFilters, Akonadi2::Storage::Transaction &transaction) 58ResultSet 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
63void TypeImplementation<Mail>::index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Akonadi2::Storage::Transaction &transaction) 63void 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
69void TypeImplementation<Mail>::removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Akonadi2::Storage::Transaction &transaction) 69void 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}