From f3fe5e5231e2f0c3052bca258d9410a6c9edddda Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 15 Feb 2017 09:52:08 +0100 Subject: Mails don't have uid's --- common/domain/applicationdomaintype.h | 1 - common/domain/mail.cpp | 3 --- 2 files changed, 4 deletions(-) (limited to 'common') diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h index d36bffc..c822895 100644 --- a/common/domain/applicationdomaintype.h +++ b/common/domain/applicationdomaintype.h @@ -370,7 +370,6 @@ struct SINK_EXPORT Mail : public Entity { }; SINK_ENTITY(Mail); - SINK_PROPERTY(QString, Uid, uid); SINK_EXTRACTED_PROPERTY(Contact, Sender, sender); SINK_EXTRACTED_PROPERTY(QList, To, to); SINK_EXTRACTED_PROPERTY(QList, Cc, cc); diff --git a/common/domain/mail.cpp b/common/domain/mail.cpp index 9f120cc..8cbe61b 100644 --- a/common/domain/mail.cpp +++ b/common/domain/mail.cpp @@ -36,7 +36,6 @@ using namespace Sink::ApplicationDomain; void TypeImplementation::configure(TypeIndex &index) { - index.addProperty(); // index.addProperty(); /* index.addProperty(Mail::SenderName::name); */ /* index->addProperty(Mail::Subject::name); */ @@ -66,7 +65,6 @@ void TypeImplementation::configure(IndexPropertyMapper &indexPropertyMappe void TypeImplementation::configure(ReadPropertyMapper &propertyMapper) { - propertyMapper.addMapping(&Buffer::uid); propertyMapper.addMapping(&Buffer::sender); propertyMapper.addMapping(&Buffer::to); propertyMapper.addMapping(&Buffer::cc); @@ -87,7 +85,6 @@ void TypeImplementation::configure(ReadPropertyMapper &propertyMap void TypeImplementation::configure(WritePropertyMapper &propertyMapper) { - propertyMapper.addMapping(&BufferBuilder::add_uid); propertyMapper.addMapping(&BufferBuilder::add_sender); propertyMapper.addMapping(&BufferBuilder::add_to); propertyMapper.addMapping(&BufferBuilder::add_cc); -- cgit v1.2.3