Diffstat (limited to 'noncore/net/mail/libmailwrapper/mailtypes.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/mailtypes.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/noncore/net/mail/libmailwrapper/mailtypes.cpp b/noncore/net/mail/libmailwrapper/mailtypes.cpp index 96e0fd5..e4646d9 100644 --- a/noncore/net/mail/libmailwrapper/mailtypes.cpp +++ b/noncore/net/mail/libmailwrapper/mailtypes.cpp | |||
@@ -35,6 +35,7 @@ void RecMail::copy_old(const RecMail&old) | |||
35 | bcc = old.bcc; | 35 | bcc = old.bcc; |
36 | wrapper = old.wrapper; | 36 | wrapper = old.wrapper; |
37 | in_reply_to = old.in_reply_to; | 37 | in_reply_to = old.in_reply_to; |
38 | references = old.references; | ||
38 | } | 39 | } |
39 | 40 | ||
40 | void RecMail::init() | 41 | void RecMail::init() |
@@ -43,6 +44,7 @@ void RecMail::init() | |||
43 | cc.clear(); | 44 | cc.clear(); |
44 | bcc.clear(); | 45 | bcc.clear(); |
45 | in_reply_to.clear(); | 46 | in_reply_to.clear(); |
47 | references.clear(); | ||
46 | wrapper = 0; | 48 | wrapper = 0; |
47 | } | 49 | } |
48 | 50 | ||
@@ -96,6 +98,15 @@ const QStringList& RecMail::Inreply()const | |||
96 | return in_reply_to; | 98 | return in_reply_to; |
97 | } | 99 | } |
98 | 100 | ||
101 | void RecMail::setReferences(const QStringList&list) | ||
102 | { | ||
103 | references = list; | ||
104 | } | ||
105 | |||
106 | const QStringList& RecMail::References()const | ||
107 | { | ||
108 | return references; | ||
109 | } | ||
99 | 110 | ||
100 | RecPart::RecPart() | 111 | RecPart::RecPart() |
101 | : m_type(""),m_subtype(""),m_identifier(""),m_encoding(""),m_description(""),m_lines(0),m_size(0) | 112 | : m_type(""),m_subtype(""),m_identifier(""),m_encoding(""),m_description(""),m_lines(0),m_size(0) |