summaryrefslogtreecommitdiff
path: root/noncore/net/mail/libmailwrapper/mailtypes.h
Side-by-side diff
Diffstat (limited to 'noncore/net/mail/libmailwrapper/mailtypes.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/mailtypes.h25
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;
From programmers point of view it would make sense to
store the mail body into this class, too.
- But: not from the point of view of the device.
- Mailbodies can be real large. So we request them when
+ But: not from the point of view of the device.
+ Mailbodies can be real large. So we request them when
needed from the mail-wrapper class direct from the server itself
(imap) or from a file-based cache (pop3?)
@@ -62,7 +62,10 @@ public:
void setInreply(const QStringList&list);
const QStringList&Inreply()const;
+ void setReferences(const QStringList&list);
+ const QStringList&References()const;
+
const QBitArray&getFlags()const{return msg_flags;}
void setFlags(const QBitArray&flags){msg_flags = flags;}
-
+
void setWrapper(AbstractMail*wrapper);
AbstractMail* Wrapper();
@@ -72,5 +75,5 @@ protected:
int msg_number,msg_size;
QBitArray msg_flags;
- QStringList to,cc,bcc,in_reply_to;
+ QStringList to,cc,bcc,in_reply_to,references;
AbstractMail*wrapper;
void init();
@@ -92,5 +95,5 @@ public:
RecPart();
virtual ~RecPart();
-
+
const QString&Type()const;
void setType(const QString&type);
@@ -108,5 +111,5 @@ public:
const unsigned int Size()const;
-
+
void setParameters(const part_plist_t&list);
const part_plist_t&Parameters()const;
@@ -132,5 +135,5 @@ public:
void setDescription(const RecPart&des);
const RecPart& Description()const;
-
+
void setParts(const QValueList<RecPart>&parts);
const QValueList<RecPart>& Parts()const;
@@ -143,5 +146,5 @@ public:
encodedString();
/*
- creates an new content string.
+ creates an new content string.
it makes a deep copy of it!
*/
@@ -159,10 +162,10 @@ public:
/* destructor - cleans the content */
virtual ~encodedString();
-
+
/* returns a pointer to the content - do not delete yoursel! */
const char*Content()const;
/* returns the lengths of the content 'cause it must not be a null-terminated string! */
const int Length()const;
-
+
/*
makes a deep copy of nContent!
@@ -179,5 +182,5 @@ protected:
char * content;
unsigned int size;
-
+
void init();
void copy_old(const encodedString&old);