From 71a0167e0216f84588b492c84e92667847fbe5a5 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 18 Oct 2016 12:44:12 +0200 Subject: Use the ApplicationDomainType in the queries as well. We have to access properties, so we need the mapper anyways, and the ApplicationDomainType type shouldn't be a large overhead anyways. --- common/domain/mail.h | 1 - 1 file changed, 1 deletion(-) (limited to 'common/domain/mail.h') diff --git a/common/domain/mail.h b/common/domain/mail.h index 6c1f670..81a0d1c 100644 --- a/common/domain/mail.h +++ b/common/domain/mail.h @@ -49,7 +49,6 @@ public: typedef Sink::ApplicationDomain::Buffer::Mail Buffer; typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder; static void configureIndex(TypeIndex &index); - static QSharedPointer prepareQuery(const Sink::Query &query, Sink::Storage::EntityStore::Ptr storage); static QSet indexedProperties(); static void index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::DataStore::Transaction &transaction); static void removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::DataStore::Transaction &transaction); -- cgit v1.2.3