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.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/common/domain/mail.cpp b/common/domain/mail.cpp
index b0a3aae..9d58767 100644
--- a/common/domain/mail.cpp
+++ b/common/domain/mail.cpp
@@ -170,19 +170,6 @@ static void updateThreadingIndex(const QByteArray &identifier, const BufferAdapt
170 } 170 }
171} 171}
172 172
173void TypeImplementation<Mail>::index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::DataStore::Transaction &transaction)
174{
175 SinkTrace() << "Indexing " << identifier;
176 getIndex().add(identifier, bufferAdaptor, transaction);
177 updateThreadingIndex(identifier, bufferAdaptor, transaction);
178}
179
180void TypeImplementation<Mail>::removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::DataStore::Transaction &transaction)
181{
182 getIndex().remove(identifier, bufferAdaptor, transaction);
183 //TODO cleanup threading index
184}
185
186QSharedPointer<ReadPropertyMapper<TypeImplementation<Mail>::Buffer> > TypeImplementation<Mail>::initializeReadPropertyMapper() 173QSharedPointer<ReadPropertyMapper<TypeImplementation<Mail>::Buffer> > TypeImplementation<Mail>::initializeReadPropertyMapper()
187{ 174{
188 auto propertyMapper = QSharedPointer<ReadPropertyMapper<Buffer> >::create(); 175 auto propertyMapper = QSharedPointer<ReadPropertyMapper<Buffer> >::create();