From c7549de5f69c98c6b15b6e1a6f4d73ac3f04669e Mon Sep 17 00:00:00 2001 From: harlekin Date: Fri, 12 Dec 2003 13:50:54 +0000 Subject: code cleanups and output beautification --- (limited to 'noncore/net/mail/viewmail.h') diff --git a/noncore/net/mail/viewmail.h b/noncore/net/mail/viewmail.h index 258c09b..61baa1d 100644 --- a/noncore/net/mail/viewmail.h +++ b/noncore/net/mail/viewmail.h @@ -6,8 +6,7 @@ #include #include "viewmailbase.h" -//#include "imapresponse.h" -//#include "mailtable.h" +#include "mailtypes.h" class AttachItemStore { @@ -49,11 +48,10 @@ public: void hide(); void exec(); - static QString appName() { return QString::fromLatin1("mail"); } - void setMailInfo( const QString & from, const QStringList & to, const QString & subject, const QStringList & cc, const QStringList & bcc,const QString & date, const QString & bodytext, const QString & messageID ); + void setMail( RecMail mail ); + void setBody( RecBody body ); protected: -// void fillList(IMAPResponseBODYSTRUCTURE &structure); QString deHtml(const QString &string); protected slots: @@ -61,23 +59,14 @@ protected slots: void slotForward(); void setText(); -// void slotIMAPUid(IMAPResponse &response); - private: bool _inLoop; -// IMAPResponseFETCH _mail; -// IMAPHandler *_handler; - QString _mailHtml; - bool _gotBody; - - // 0 from - // 1 subject - // 2 bodytext - // 3 date + QString m_mailHtml; + bool m_gotBody; + + // 0 from 1 subject 2 bodytext 3 date QMap m_mail; - // 0 to - // 1 cc - // 2 bcc + // 0 to 1 cc 2 bcc QMap m_mail2; }; -- cgit v0.9.0.2