author | alwin <alwin> | 2003-12-09 23:41:24 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-09 23:41:24 (UTC) |
commit | c361d36374d9c333ffe4b853067858df5636e1a5 (patch) (side-by-side diff) | |
tree | ed99a2a14aba66f2caad15a3467291c12313d048 /noncore/net/mail/mailtypes.h | |
parent | cf0db32ce938c3254a8153ec3ac390c7282af5d0 (diff) | |
download | opie-c361d36374d9c333ffe4b853067858df5636e1a5.zip opie-c361d36374d9c333ffe4b853067858df5636e1a5.tar.gz opie-c361d36374d9c333ffe4b853067858df5636e1a5.tar.bz2 |
all header stuff will be parsed now
RecMail got the unique message id for reply reference
-rw-r--r-- | noncore/net/mail/mailtypes.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/noncore/net/mail/mailtypes.h b/noncore/net/mail/mailtypes.h index bb6a483..c8d533a 100644 --- a/noncore/net/mail/mailtypes.h +++ b/noncore/net/mail/mailtypes.h @@ -30,4 +30,5 @@ class RecMail public: RecMail(); + RecMail(const RecMail&old); virtual ~RecMail(){} @@ -42,4 +43,6 @@ public: const QString&getMbox()const{return mbox;} void setMbox(const QString&box){mbox = box;} + void setMsgid(const QString&id){msg_id=id;} + const QString&Msgid()const{return msg_id;} void setTo(const QStringList&list); @@ -49,13 +52,14 @@ public: void setBcc(const QStringList&list); const QStringList&Bcc()const; - const QBitArray&getFlags()const{return msg_flags;} void setFlags(const QBitArray&flags){msg_flags = flags;} protected: - QString subject,date,from,mbox; + QString subject,date,from,mbox,msg_id; int msg_number; QBitArray msg_flags; QStringList to,cc,bcc; + void init(); + void copy_old(const RecMail&old); }; |