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.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/noncore/net/mail/viewmail.h b/noncore/net/mail/viewmail.h
index 9d3c6e4..615939a 100644
--- a/noncore/net/mail/viewmail.h
+++ b/noncore/net/mail/viewmail.h
@@ -1,11 +1,12 @@
#ifndef VIEWMAIL_H
#define VIEWMAIL_H
#include <qlistview.h>
#include <qmap.h>
+#include <qstringlist.h>
#include "viewmailbase.h"
//#include "imapresponse.h"
//#include "mailtable.h"
class AttachItemStore
@@ -46,13 +47,13 @@ public:
ViewMail( QWidget *parent = 0, const char *name = 0, WFlags fl = Qt::WType_Modal);
~ViewMail();
void hide();
void exec();
static QString appName() { return QString::fromLatin1("mail"); }
- void setMailInfo( const QString & from, const QString & to, const QString & subject, const QString & cc, const QString & bcc, const QString & bodytext );
+ void setMailInfo( const QString & from, const QStringList & to, const QString & subject, const QStringList & cc, const QStringList & bcc,const QString & date, const QString & bodytext );
protected:
// void fillList(IMAPResponseBODYSTRUCTURE &structure);
QString deHtml(const QString &string);
protected slots:
@@ -65,11 +66,20 @@ protected slots:
private:
bool _inLoop;
// IMAPResponseFETCH _mail;
// IMAPHandler *_handler;
QString _mailHtml;
bool _gotBody;
+
+ // 0 from
+ // 1 subject
+ // 2 bodytext
+ // 3 date
QMap <int,QString> m_mail;
+ // 0 to
+ // 1 cc
+ // 2 bcc
+ QMap <int,QStringList> m_mail2;
};
#endif