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 | |||
@@ -32,20 +32,22 @@ void RecMail::copy_old(const RecMail&old) | |||
32 | msg_flags = old.msg_flags; | 32 | msg_flags = old.msg_flags; |
33 | to = old.to; | 33 | to = old.to; |
34 | cc = old.cc; | 34 | cc = old.cc; |
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() |
41 | { | 42 | { |
42 | to.clear(); | 43 | to.clear(); |
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 | ||
49 | void RecMail::setWrapper(AbstractMail*awrapper) | 51 | void RecMail::setWrapper(AbstractMail*awrapper) |
50 | { | 52 | { |
51 | wrapper = awrapper; | 53 | wrapper = awrapper; |
@@ -93,12 +95,21 @@ void RecMail::setInreply(const QStringList&list) | |||
93 | 95 | ||
94 | const QStringList& RecMail::Inreply()const | 96 | const QStringList& RecMail::Inreply()const |
95 | { | 97 | { |
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) |
102 | { | 113 | { |
103 | m_Parameters.clear(); | 114 | m_Parameters.clear(); |
104 | m_poslist.clear(); | 115 | m_poslist.clear(); |