Diffstat (limited to 'noncore/net/mail/mailtypes.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/mailtypes.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/noncore/net/mail/mailtypes.h b/noncore/net/mail/mailtypes.h index 6d6b080..900f10a 100644 --- a/noncore/net/mail/mailtypes.h +++ b/noncore/net/mail/mailtypes.h @@ -48,2 +48,4 @@ public: const QString&Replyto()const{return replyto;} + void setMsgsize(int size){msg_size = size;} + const int Msgsize()const{return msg_size;} @@ -61,3 +63,3 @@ protected: QString subject,date,from,mbox,msg_id,replyto; - int msg_number; + int msg_number,msg_size; QBitArray msg_flags; @@ -72,5 +74,6 @@ protected: QString m_type,m_subtype,m_identifier,m_encoding; + unsigned int m_lines; public: RecPart(); - RecPart(const QString&identifier,const QString&type="",const QString&subtype="",const QString&encoding="BASE64"); + RecPart(const QString&identifier,const QString&type="",const QString&subtype="",const QString&encoding="BASE64",unsigned int lines=0); virtual ~RecPart(); @@ -85,2 +88,4 @@ public: void setEncoding(const QString&encoding); + void setLines(unsigned int lines); + const unsigned int Lines()const; }; @@ -90,3 +95,3 @@ class RecBody protected: - QString m_BodyText; + QString m_BodyText,m_type,m_subtype; QList<RecPart> m_PartsList; @@ -98,2 +103,7 @@ public: const QString& Bodytext()const; + void setType(const QString&); + const QString&Type()const; + void setSubtype(const QString&); + const QString&Subtype()const; + |