-rw-r--r-- | noncore/net/mail/viewmail.h | 12 |
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 @@ | |||
1 | #ifndef VIEWMAIL_H | 1 | #ifndef VIEWMAIL_H |
2 | #define VIEWMAIL_H | 2 | #define VIEWMAIL_H |
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" |
9 | //#include "mailtable.h" | 10 | //#include "mailtable.h" |
10 | 11 | ||
11 | class AttachItemStore | 12 | class AttachItemStore |
@@ -46,13 +47,13 @@ public: | |||
46 | ViewMail( QWidget *parent = 0, const char *name = 0, WFlags fl = Qt::WType_Modal); | 47 | ViewMail( QWidget *parent = 0, const char *name = 0, WFlags fl = Qt::WType_Modal); |
47 | ~ViewMail(); | 48 | ~ViewMail(); |
48 | 49 | ||
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 | ||
54 | protected: | 55 | protected: |
55 | //void fillList(IMAPResponseBODYSTRUCTURE &structure); | 56 | //void fillList(IMAPResponseBODYSTRUCTURE &structure); |
56 | QString deHtml(const QString &string); | 57 | QString deHtml(const QString &string); |
57 | 58 | ||
58 | protected slots: | 59 | protected slots: |
@@ -65,11 +66,20 @@ protected slots: | |||
65 | private: | 66 | private: |
66 | bool _inLoop; | 67 | bool _inLoop; |
67 | //IMAPResponseFETCH _mail; | 68 | //IMAPResponseFETCH _mail; |
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 | ||
75 | #endif | 85 | #endif |