Diffstat (limited to 'noncore/net/mail/libmailwrapper/mailtypes.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/mailtypes.h | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/noncore/net/mail/libmailwrapper/mailtypes.h b/noncore/net/mail/libmailwrapper/mailtypes.h index 1420f79..17c6db9 100644 --- a/noncore/net/mail/libmailwrapper/mailtypes.h +++ b/noncore/net/mail/libmailwrapper/mailtypes.h | |||
@@ -21,6 +21,6 @@ class AbstractMail; | |||
21 | From programmers point of view it would make sense to | 21 | From programmers point of view it would make sense to |
22 | store the mail body into this class, too. | 22 | store the mail body into this class, too. |
23 | But: not from the point of view of the device. | 23 | But: not from the point of view of the device. |
24 | Mailbodies can be real large. So we request them when | 24 | Mailbodies can be real large. So we request them when |
25 | needed from the mail-wrapper class direct from the server itself | 25 | needed from the mail-wrapper class direct from the server itself |
26 | (imap) or from a file-based cache (pop3?) | 26 | (imap) or from a file-based cache (pop3?) |
@@ -62,7 +62,10 @@ public: | |||
62 | void setInreply(const QStringList&list); | 62 | void setInreply(const QStringList&list); |
63 | const QStringList&Inreply()const; | 63 | const QStringList&Inreply()const; |
64 | void setReferences(const QStringList&list); | ||
65 | const QStringList&References()const; | ||
66 | |||
64 | const QBitArray&getFlags()const{return msg_flags;} | 67 | const QBitArray&getFlags()const{return msg_flags;} |
65 | void setFlags(const QBitArray&flags){msg_flags = flags;} | 68 | void setFlags(const QBitArray&flags){msg_flags = flags;} |
66 | 69 | ||
67 | void setWrapper(AbstractMail*wrapper); | 70 | void setWrapper(AbstractMail*wrapper); |
68 | AbstractMail* Wrapper(); | 71 | AbstractMail* Wrapper(); |
@@ -72,5 +75,5 @@ protected: | |||
72 | int msg_number,msg_size; | 75 | int msg_number,msg_size; |
73 | QBitArray msg_flags; | 76 | QBitArray msg_flags; |
74 | QStringList to,cc,bcc,in_reply_to; | 77 | QStringList to,cc,bcc,in_reply_to,references; |
75 | AbstractMail*wrapper; | 78 | AbstractMail*wrapper; |
76 | void init(); | 79 | void init(); |
@@ -92,5 +95,5 @@ public: | |||
92 | RecPart(); | 95 | RecPart(); |
93 | virtual ~RecPart(); | 96 | virtual ~RecPart(); |
94 | 97 | ||
95 | const QString&Type()const; | 98 | const QString&Type()const; |
96 | void setType(const QString&type); | 99 | void setType(const QString&type); |
@@ -108,5 +111,5 @@ public: | |||
108 | const unsigned int Size()const; | 111 | const unsigned int Size()const; |
109 | 112 | ||
110 | 113 | ||
111 | void setParameters(const part_plist_t&list); | 114 | void setParameters(const part_plist_t&list); |
112 | const part_plist_t&Parameters()const; | 115 | const part_plist_t&Parameters()const; |
@@ -132,5 +135,5 @@ public: | |||
132 | void setDescription(const RecPart&des); | 135 | void setDescription(const RecPart&des); |
133 | const RecPart& Description()const; | 136 | const RecPart& Description()const; |
134 | 137 | ||
135 | void setParts(const QValueList<RecPart>&parts); | 138 | void setParts(const QValueList<RecPart>&parts); |
136 | const QValueList<RecPart>& Parts()const; | 139 | const QValueList<RecPart>& Parts()const; |
@@ -143,5 +146,5 @@ public: | |||
143 | encodedString(); | 146 | encodedString(); |
144 | /* | 147 | /* |
145 | creates an new content string. | 148 | creates an new content string. |
146 | it makes a deep copy of it! | 149 | it makes a deep copy of it! |
147 | */ | 150 | */ |
@@ -159,10 +162,10 @@ public: | |||
159 | /* destructor - cleans the content */ | 162 | /* destructor - cleans the content */ |
160 | virtual ~encodedString(); | 163 | virtual ~encodedString(); |
161 | 164 | ||
162 | /* returns a pointer to the content - do not delete yoursel! */ | 165 | /* returns a pointer to the content - do not delete yoursel! */ |
163 | const char*Content()const; | 166 | const char*Content()const; |
164 | /* returns the lengths of the content 'cause it must not be a null-terminated string! */ | 167 | /* returns the lengths of the content 'cause it must not be a null-terminated string! */ |
165 | const int Length()const; | 168 | const int Length()const; |
166 | 169 | ||
167 | /* | 170 | /* |
168 | makes a deep copy of nContent! | 171 | makes a deep copy of nContent! |
@@ -179,5 +182,5 @@ protected: | |||
179 | char * content; | 182 | char * content; |
180 | unsigned int size; | 183 | unsigned int size; |
181 | 184 | ||
182 | void init(); | 185 | void init(); |
183 | void copy_old(const encodedString&old); | 186 | void copy_old(const encodedString&old); |