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
Diffstat (limited to 'noncore/net/mail/mailtypes.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/mailtypes.h | 10 |
1 files changed, 7 insertions, 3 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 @@ -26,40 +26,44 @@ get the body. Same words for the attachments. */ class RecMail { public: RecMail(); + RecMail(const RecMail&old); virtual ~RecMail(){} const int getNumber()const{return msg_number;} void setNumber(int number){msg_number=number;} const QString&getDate()const{ return date; } void setDate( const QString&a ) { date = a; } const QString&getFrom()const{ return from; } void setFrom( const QString&a ) { from = a; } const QString&getSubject()const { return subject; } void setSubject( const QString&s ) { subject = s; } 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); const QStringList&To()const; void setCC(const QStringList&list); const QStringList&CC()const; 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); }; class RecPart { protected: QString m_type,m_subtype,m_identifier,m_encoding; |