author | alwin <alwin> | 2003-12-11 21:34:46 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-11 21:34:46 (UTC) |
commit | 615651f5081d60c0d83faa7118adbda884489def (patch) (side-by-side diff) | |
tree | 01250f0d1df8054a35114b942e7f04615d5b3700 /noncore/net/mail/libmailwrapper/mailtypes.h | |
parent | 5a1ec1c24a3265cf9511af81509bf80e6bfaeb7f (diff) | |
download | opie-615651f5081d60c0d83faa7118adbda884489def.zip opie-615651f5081d60c0d83faa7118adbda884489def.tar.gz opie-615651f5081d60c0d83faa7118adbda884489def.tar.bz2 |
reading of body structure most part finished
Diffstat (limited to 'noncore/net/mail/libmailwrapper/mailtypes.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/mailtypes.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/noncore/net/mail/libmailwrapper/mailtypes.h b/noncore/net/mail/libmailwrapper/mailtypes.h index 6d6b080..900f10a 100644 --- a/noncore/net/mail/libmailwrapper/mailtypes.h +++ b/noncore/net/mail/libmailwrapper/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; + |