diff options
Diffstat (limited to 'common/domain/event.h')
-rw-r--r-- | common/domain/event.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/common/domain/event.h b/common/domain/event.h index 577367b..479969d 100644 --- a/common/domain/event.h +++ b/common/domain/event.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 { |
@@ -45,19 +45,19 @@ namespace ApplicationDomain { | |||
45 | * These are type specifiy default implementations. Theoretically a resource could implement it's own implementation. | 45 | * These are type specifiy default implementations. Theoretically a resource could implement it's own implementation. |
46 | */ | 46 | */ |
47 | template<> | 47 | template<> |
48 | class TypeImplementation<Akonadi2::ApplicationDomain::Event> { | 48 | class TypeImplementation<Sink::ApplicationDomain::Event> { |
49 | public: | 49 | public: |
50 | typedef Akonadi2::ApplicationDomain::Buffer::Event Buffer; | 50 | typedef Sink::ApplicationDomain::Buffer::Event Buffer; |
51 | typedef Akonadi2::ApplicationDomain::Buffer::EventBuilder BufferBuilder; | 51 | typedef Sink::ApplicationDomain::Buffer::EventBuilder BufferBuilder; |
52 | static QSet<QByteArray> indexedProperties(); | 52 | static QSet<QByteArray> indexedProperties(); |
53 | /** | 53 | /** |
54 | * Returns the potential result set based on the indexes. | 54 | * Returns the potential result set based on the indexes. |
55 | * | 55 | * |
56 | * An empty result set indicates that a full scan is required. | 56 | * An empty result set indicates that a full scan is required. |
57 | */ | 57 | */ |
58 | static ResultSet queryIndexes(const Akonadi2::Query &query, const QByteArray &resourceInstanceIdentifier, QSet<QByteArray> &appliedFilters, Akonadi2::Storage::Transaction &transaction); | 58 | static ResultSet queryIndexes(const Sink::Query &query, const QByteArray &resourceInstanceIdentifier, QSet<QByteArray> &appliedFilters, Sink::Storage::Transaction &transaction); |
59 | static void index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Akonadi2::Storage::Transaction &transaction); | 59 | static void index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); |
60 | static void removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Akonadi2::Storage::Transaction &transaction); | 60 | static void removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); |
61 | static QSharedPointer<ReadPropertyMapper<Buffer> > initializeReadPropertyMapper(); | 61 | static QSharedPointer<ReadPropertyMapper<Buffer> > initializeReadPropertyMapper(); |
62 | static QSharedPointer<WritePropertyMapper<BufferBuilder> > initializeWritePropertyMapper(); | 62 | static QSharedPointer<WritePropertyMapper<BufferBuilder> > initializeWritePropertyMapper(); |
63 | }; | 63 | }; |