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.h | |
parent | 17e7ee40c9185c0505883853345fd6024c675b1a (diff) | |
download | sink-bdb01c2c068df326f5a8328ed1492ab1bea388c5.tar.gz sink-bdb01c2c068df326f5a8328ed1492ab1bea388c5.zip |
Renamed Akonadi2 to Sink
(except for documentation).
Diffstat (limited to 'common/domain/mail.h')
-rw-r--r-- | common/domain/mail.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/common/domain/mail.h b/common/domain/mail.h index d1ef8d6..e45d64d 100644 --- a/common/domain/mail.h +++ b/common/domain/mail.h | |||
@@ -30,7 +30,7 @@ class ReadPropertyMapper; | |||
30 | template<typename T> | 30 | template<typename T> |
31 | class WritePropertyMapper; | 31 | class WritePropertyMapper; |
32 | 32 | ||
33 | namespace Akonadi2 { | 33 | namespace Sink { |
34 | class Query; | 34 | class Query; |
35 | 35 | ||
36 | namespace ApplicationDomain { | 36 | namespace ApplicationDomain { |
@@ -40,19 +40,19 @@ namespace ApplicationDomain { | |||
40 | } | 40 | } |
41 | 41 | ||
42 | template<> | 42 | template<> |
43 | class TypeImplementation<Akonadi2::ApplicationDomain::Mail> { | 43 | class TypeImplementation<Sink::ApplicationDomain::Mail> { |
44 | public: | 44 | public: |
45 | typedef Akonadi2::ApplicationDomain::Buffer::Mail Buffer; | 45 | typedef Sink::ApplicationDomain::Buffer::Mail Buffer; |
46 | typedef Akonadi2::ApplicationDomain::Buffer::MailBuilder BufferBuilder; | 46 | typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder; |
47 | static QSet<QByteArray> indexedProperties(); | 47 | static QSet<QByteArray> indexedProperties(); |
48 | /** | 48 | /** |
49 | * Returns the potential result set based on the indexes. | 49 | * Returns the potential result set based on the indexes. |
50 | * | 50 | * |
51 | * An empty result set indicates that a full scan is required. | 51 | * An empty result set indicates that a full scan is required. |
52 | */ | 52 | */ |
53 | static ResultSet queryIndexes(const Akonadi2::Query &query, const QByteArray &resourceInstanceIdentifier, QSet<QByteArray> &appliedFilters, Akonadi2::Storage::Transaction &transaction); | 53 | static ResultSet queryIndexes(const Sink::Query &query, const QByteArray &resourceInstanceIdentifier, QSet<QByteArray> &appliedFilters, Sink::Storage::Transaction &transaction); |
54 | static void index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Akonadi2::Storage::Transaction &transaction); | 54 | static void index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); |
55 | static void removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Akonadi2::Storage::Transaction &transaction); | 55 | static void removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); |
56 | static QSharedPointer<ReadPropertyMapper<Buffer> > initializeReadPropertyMapper(); | 56 | static QSharedPointer<ReadPropertyMapper<Buffer> > initializeReadPropertyMapper(); |
57 | static QSharedPointer<WritePropertyMapper<BufferBuilder> > initializeWritePropertyMapper(); | 57 | static QSharedPointer<WritePropertyMapper<BufferBuilder> > initializeWritePropertyMapper(); |
58 | }; | 58 | }; |