summaryrefslogtreecommitdiff
path: root/noncore/net/mail/viewmail.h
Unidiff
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
@@ -3,6 +3,7 @@
3 3
4#include <qlistview.h> 4#include <qlistview.h>
5#include <qmap.h> 5#include <qmap.h>
6#include <qstringlist.h>
6 7
7#include "viewmailbase.h" 8#include "viewmailbase.h"
8//#include "imapresponse.h" 9//#include "imapresponse.h"
@@ -49,7 +50,7 @@ public:
49 void hide(); 50 void hide();
50 void exec(); 51 void exec();
51 static QString appName() { return QString::fromLatin1("mail"); } 52 static QString appName() { return QString::fromLatin1("mail"); }
52 void setMailInfo( const QString & from, const QString & to, const QString & subject, const QString & cc, const QString & bcc, const QString & bodytext ); 53 void setMailInfo( const QString & from, const QStringList & to, const QString & subject, const QStringList & cc, const QStringList & bcc,const QString & date, const QString & bodytext );
53 54
54protected: 55protected:
55 //void fillList(IMAPResponseBODYSTRUCTURE &structure); 56 //void fillList(IMAPResponseBODYSTRUCTURE &structure);
@@ -68,7 +69,16 @@ private:
68 //IMAPHandler *_handler; 69 //IMAPHandler *_handler;
69 QString _mailHtml; 70 QString _mailHtml;
70 bool _gotBody; 71 bool _gotBody;
72
73 // 0 from
74 // 1 subject
75 // 2 bodytext
76 // 3 date
71 QMap <int,QString> m_mail; 77 QMap <int,QString> m_mail;
78 // 0 to
79 // 1 cc
80 // 2 bcc
81 QMap <int,QStringList> m_mail2;
72 82
73}; 83};
74 84