summaryrefslogtreecommitdiff
path: root/noncore/net/mail/viewmail.h
Side-by-side diff
Diffstat (limited to 'noncore/net/mail/viewmail.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/viewmail.h27
1 files changed, 8 insertions, 19 deletions
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 <qstringlist.h>
#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 <int,QString> m_mail;
- // 0 to
- // 1 cc
- // 2 bcc
+ // 0 to 1 cc 2 bcc
QMap <int,QStringList> m_mail2;
};