diff options
Diffstat (limited to 'common/domain/mail.cpp')
-rw-r--r-- | common/domain/mail.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/common/domain/mail.cpp b/common/domain/mail.cpp index f9a20d7..9f120cc 100644 --- a/common/domain/mail.cpp +++ b/common/domain/mail.cpp | |||
@@ -36,17 +36,15 @@ using namespace Sink::ApplicationDomain; | |||
36 | 36 | ||
37 | void TypeImplementation<Mail>::configure(TypeIndex &index) | 37 | void TypeImplementation<Mail>::configure(TypeIndex &index) |
38 | { | 38 | { |
39 | index.addProperty<QByteArray>(Mail::Uid::name); | 39 | index.addProperty<Mail::Uid>(); |
40 | index.addProperty<QByteArray>(Mail::Sender::name); | 40 | // index.addProperty<Mail::Sender>(); |
41 | /* index.addProperty<QByteArray>(Mail::SenderName::name); */ | 41 | /* index.addProperty<QByteArray>(Mail::SenderName::name); */ |
42 | /* index->addProperty<QString>(Mail::Subject::name); */ | 42 | /* index->addProperty<QString>(Mail::Subject::name); */ |
43 | /* index->addFulltextProperty<QString>(Mail::Subject::name); */ | 43 | /* index->addFulltextProperty<QString>(Mail::Subject::name); */ |
44 | index.addProperty<QDateTime>(Mail::Date::name); | 44 | index.addProperty<Mail::Date>(); |
45 | index.addProperty<QByteArray>(Mail::Folder::name); | 45 | index.addProperty<Mail::Folder>(); |
46 | index.addPropertyWithSorting<QByteArray, QDateTime>(Mail::Folder::name, Mail::Date::name); | 46 | index.addPropertyWithSorting<Mail::Folder, Mail::Date>(); |
47 | index.addProperty<QByteArray>(Mail::MessageId::name); | 47 | index.addProperty<Mail::ParentMessageId>(); |
48 | index.addProperty<QByteArray>(Mail::ParentMessageId::name); | ||
49 | |||
50 | index.addProperty<Mail::MessageId>(); | 48 | index.addProperty<Mail::MessageId>(); |
51 | 49 | ||
52 | index.addSecondaryPropertyIndexer<Mail::MessageId, Mail::ThreadId, ThreadIndexer>(); | 50 | index.addSecondaryPropertyIndexer<Mail::MessageId, Mail::ThreadId, ThreadIndexer>(); |