author | alwin <alwin> | 2003-12-13 03:51:21 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-13 03:51:21 (UTC) |
commit | 7f0861e63db74263ff286e09fbc4faf16d367a5b (patch) (unidiff) | |
tree | d97bd868343b179039c141fee3725f7781a0fca1 /noncore/net/mail/mailtypes.cpp | |
parent | a170120c655169de904ff282e23461ba4eef2b47 (diff) | |
download | opie-7f0861e63db74263ff286e09fbc4faf16d367a5b.zip opie-7f0861e63db74263ff286e09fbc4faf16d367a5b.tar.gz opie-7f0861e63db74263ff286e09fbc4faf16d367a5b.tar.bz2 |
displaying list of attachments of a mail works. (Of course only if
the mail HAS attachments ;)
Diffstat (limited to 'noncore/net/mail/mailtypes.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/mailtypes.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/noncore/net/mail/mailtypes.cpp b/noncore/net/mail/mailtypes.cpp index 9c312e9..5cd45ed 100644 --- a/noncore/net/mail/mailtypes.cpp +++ b/noncore/net/mail/mailtypes.cpp | |||
@@ -68,7 +68,7 @@ const QStringList& RecMail::Bcc()const | |||
68 | } | 68 | } |
69 | 69 | ||
70 | RecPart::RecPart() | 70 | RecPart::RecPart() |
71 | : m_type(""),m_subtype(""),m_identifier(""),m_encoding(""),m_lines(0) | 71 | : m_type(""),m_subtype(""),m_identifier(""),m_encoding(""),m_lines(0),m_size(0) |
72 | { | 72 | { |
73 | m_Parameters.clear(); | 73 | m_Parameters.clear(); |
74 | m_poslist.clear(); | 74 | m_poslist.clear(); |
@@ -78,6 +78,16 @@ RecPart::~RecPart() | |||
78 | { | 78 | { |
79 | } | 79 | } |
80 | 80 | ||
81 | void RecPart::setSize(unsigned int size) | ||
82 | { | ||
83 | m_size = size; | ||
84 | } | ||
85 | |||
86 | const unsigned int RecPart::Size()const | ||
87 | { | ||
88 | return m_size; | ||
89 | } | ||
90 | |||
81 | void RecPart::setLines(unsigned int lines) | 91 | void RecPart::setLines(unsigned int lines) |
82 | { | 92 | { |
83 | m_lines = lines; | 93 | m_lines = lines; |