Diffstat (limited to 'noncore/net/mail/libmailwrapper/mailtypes.h') (more/less context) (show 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: | |||
48 | const QString&Replyto()const{return replyto;} | 48 | const QString&Replyto()const{return replyto;} |
49 | void setMsgsize(int size){msg_size = size;} | ||
50 | const int Msgsize()const{return msg_size;} | ||
49 | 51 | ||
@@ -61,3 +63,3 @@ protected: | |||
61 | QString subject,date,from,mbox,msg_id,replyto; | 63 | QString subject,date,from,mbox,msg_id,replyto; |
62 | int msg_number; | 64 | int msg_number,msg_size; |
63 | QBitArray msg_flags; | 65 | QBitArray msg_flags; |
@@ -72,5 +74,6 @@ protected: | |||
72 | QString m_type,m_subtype,m_identifier,m_encoding; | 74 | QString m_type,m_subtype,m_identifier,m_encoding; |
75 | unsigned int m_lines; | ||
73 | public: | 76 | public: |
74 | RecPart(); | 77 | RecPart(); |
75 | RecPart(const QString&identifier,const QString&type="",const QString&subtype="",const QString&encoding="BASE64"); | 78 | RecPart(const QString&identifier,const QString&type="",const QString&subtype="",const QString&encoding="BASE64",unsigned int lines=0); |
76 | virtual ~RecPart(); | 79 | virtual ~RecPart(); |
@@ -85,2 +88,4 @@ public: | |||
85 | void setEncoding(const QString&encoding); | 88 | void setEncoding(const QString&encoding); |
89 | void setLines(unsigned int lines); | ||
90 | const unsigned int Lines()const; | ||
86 | }; | 91 | }; |
@@ -90,3 +95,3 @@ class RecBody | |||
90 | protected: | 95 | protected: |
91 | QString m_BodyText; | 96 | QString m_BodyText,m_type,m_subtype; |
92 | QList<RecPart> m_PartsList; | 97 | QList<RecPart> m_PartsList; |
@@ -98,2 +103,7 @@ public: | |||
98 | const QString& Bodytext()const; | 103 | const QString& Bodytext()const; |
104 | void setType(const QString&); | ||
105 | const QString&Type()const; | ||
106 | void setSubtype(const QString&); | ||
107 | const QString&Subtype()const; | ||
108 | |||
99 | 109 | ||