summaryrefslogtreecommitdiffstats
path: root/examples/imapresource/imapserverproxy.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-10 15:06:08 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-10 15:06:08 +0100
commitd785bd2f3960ba5ac9f72a12ce27e314c99939cb (patch)
treebd8d02c14902950842710fb83ab3e28e232f100e /examples/imapresource/imapserverproxy.h
parent8e84c8a78b7e308cc2b09241af649851036d11de (diff)
downloadsink-d785bd2f3960ba5ac9f72a12ce27e314c99939cb.tar.gz
sink-d785bd2f3960ba5ac9f72a12ce27e314c99939cb.zip
Remember if we have all of the data or only the headers.
Diffstat (limited to 'examples/imapresource/imapserverproxy.h')
-rw-r--r--examples/imapresource/imapserverproxy.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/imapresource/imapserverproxy.h b/examples/imapresource/imapserverproxy.h
index 140c5b2..d99459f 100644
--- a/examples/imapresource/imapserverproxy.h
+++ b/examples/imapresource/imapserverproxy.h
@@ -55,6 +55,7 @@ struct Message {
55 KIMAP2::MessageAttributes attributes; 55 KIMAP2::MessageAttributes attributes;
56 KIMAP2::MessageFlags flags; 56 KIMAP2::MessageFlags flags;
57 KMime::Message::Ptr msg; 57 KMime::Message::Ptr msg;
58 bool fullPayload;
58}; 59};
59 60
60struct Folder { 61struct Folder {
@@ -72,8 +73,6 @@ struct Folder {
72 { 73 {
73 } 74 }
74 75
75
76
77 QString path() const 76 QString path() const
78 { 77 {
79 Q_ASSERT(!mPath.isEmpty()); 78 Q_ASSERT(!mPath.isEmpty());
@@ -88,7 +87,6 @@ struct Folder {
88 return parts.join(mSeparator); 87 return parts.join(mSeparator);
89 } 88 }
90 89
91
92 QString name() const 90 QString name() const
93 { 91 {
94 Q_ASSERT(!pathParts.isEmpty()); 92 Q_ASSERT(!pathParts.isEmpty());