author | alwin <alwin> | 2004-03-08 21:43:14 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-03-08 21:43:14 (UTC) |
commit | 25434cbbcd2d2473c9cd3d486cec7a96a6a6323e (patch) (unidiff) | |
tree | 31cfa6ceaebe0e2e1e0094e4905d05509e778364 /noncore/net/mail/libmailwrapper/mailtypes.h | |
parent | f3f2b2b3389d62af0f1a3aabac87f6c3cf147379 (diff) | |
download | opie-25434cbbcd2d2473c9cd3d486cec7a96a6a6323e.zip opie-25434cbbcd2d2473c9cd3d486cec7a96a6a6323e.tar.gz opie-25434cbbcd2d2473c9cd3d486cec7a96a6a6323e.tar.bz2 |
some required code restructuring in preparation of new features
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 | |||
@@ -22,4 +22,4 @@ class AbstractMail; | |||
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 |
@@ -63,5 +63,8 @@ public: | |||
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); |
@@ -73,3 +76,3 @@ protected: | |||
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; |
@@ -93,3 +96,3 @@ public: | |||
93 | virtual ~RecPart(); | 96 | virtual ~RecPart(); |
94 | 97 | ||
95 | const QString&Type()const; | 98 | const QString&Type()const; |
@@ -109,3 +112,3 @@ public: | |||
109 | 112 | ||
110 | 113 | ||
111 | void setParameters(const part_plist_t&list); | 114 | void setParameters(const part_plist_t&list); |
@@ -133,3 +136,3 @@ public: | |||
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); |
@@ -144,3 +147,3 @@ public: | |||
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! |
@@ -160,3 +163,3 @@ public: | |||
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! */ |
@@ -165,3 +168,3 @@ public: | |||
165 | const int Length()const; | 168 | const int Length()const; |
166 | 169 | ||
167 | /* | 170 | /* |
@@ -180,3 +183,3 @@ protected: | |||
180 | unsigned int size; | 183 | unsigned int size; |
181 | 184 | ||
182 | void init(); | 185 | void init(); |