summaryrefslogtreecommitdiffstats
path: root/common/domain/mail.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-09-08 22:28:38 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-09-08 22:28:38 +0200
commitd5526368825c5bbfe204d08d5de3d2069976596d (patch)
tree55d1b8306dab41d8a657f4daadd8735dcd38c3cd /common/domain/mail.cpp
parentbbbda3fe9444eba6795a5490da0425cdf8f26361 (diff)
downloadsink-d5526368825c5bbfe204d08d5de3d2069976596d.tar.gz
sink-d5526368825c5bbfe204d08d5de3d2069976596d.zip
A folder dummy folder facade and a folder property for mails.
Mails in inbox!
Diffstat (limited to 'common/domain/mail.cpp')
-rw-r--r--common/domain/mail.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/domain/mail.cpp b/common/domain/mail.cpp
index c52bfe0..230ef31 100644
--- a/common/domain/mail.cpp
+++ b/common/domain/mail.cpp
@@ -83,6 +83,9 @@ QSharedPointer<ReadPropertyMapper<TypeImplementation<Mail>::Buffer> > TypeImplem
83 propertyMapper->addMapping("important", [](Buffer const *buffer) -> QVariant { 83 propertyMapper->addMapping("important", [](Buffer const *buffer) -> QVariant {
84 return propertyToVariant<bool>(buffer->important()); 84 return propertyToVariant<bool>(buffer->important());
85 }); 85 });
86 propertyMapper->addMapping("folder", [](Buffer const *buffer) -> QVariant {
87 return propertyToVariant<QString>(buffer->folder());
88 });
86 return propertyMapper; 89 return propertyMapper;
87} 90}
88 91