-rw-r--r-- | noncore/net/mail/viewmail.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/mail/viewmail.h b/noncore/net/mail/viewmail.h index b497434..0e85839 100644 --- a/noncore/net/mail/viewmail.h +++ b/noncore/net/mail/viewmail.h | |||
@@ -17,38 +17,40 @@ public: | |||
17 | private: | 17 | private: |
18 | int _partNum; | 18 | int _partNum; |
19 | }; | 19 | }; |
20 | 20 | ||
21 | class ViewMail : public ViewMailBase | 21 | class ViewMail : public ViewMailBase |
22 | { | 22 | { |
23 | Q_OBJECT | 23 | Q_OBJECT |
24 | 24 | ||
25 | public: | 25 | public: |
26 | ViewMail( QWidget *parent = 0, const char *name = 0, WFlags fl = Qt::WType_Modal); | 26 | ViewMail( QWidget *parent = 0, const char *name = 0, WFlags fl = Qt::WType_Modal); |
27 | ~ViewMail(); | 27 | ~ViewMail(); |
28 | 28 | ||
29 | void hide(); | 29 | void hide(); |
30 | void exec(); | 30 | void exec(); |
31 | void setMail( RecMail mail ); | 31 | void setMail( RecMail mail ); |
32 | void setBody( RecBody body ); | 32 | void setBody( RecBody body ); |
33 | 33 | ||
34 | protected: | 34 | protected: |
35 | QString deHtml(const QString &string); | 35 | QString deHtml(const QString &string); |
36 | 36 | ||
37 | protected slots: | 37 | protected slots: |
38 | void slotReply(); | 38 | void slotReply(); |
39 | void slotForward(); | 39 | void slotForward(); |
40 | void setText(); | 40 | void setText(); |
41 | void slotItemClicked( QListViewItem * item , const QPoint & point, int c ); | ||
41 | 42 | ||
42 | private: | 43 | private: |
43 | bool _inLoop; | 44 | bool _inLoop; |
44 | QString m_mailHtml; | 45 | QString m_mailHtml; |
45 | bool m_gotBody; | 46 | bool m_gotBody; |
47 | RecBody m_body; | ||
46 | 48 | ||
47 | // 0 from 1 subject 2 bodytext 3 date | 49 | // 0 from 1 subject 2 bodytext 3 date |
48 | QMap <int,QString> m_mail; | 50 | QMap <int,QString> m_mail; |
49 | // 0 to 1 cc 2 bcc | 51 | // 0 to 1 cc 2 bcc |
50 | QMap <int,QStringList> m_mail2; | 52 | QMap <int,QStringList> m_mail2; |
51 | 53 | ||
52 | }; | 54 | }; |
53 | 55 | ||
54 | #endif | 56 | #endif |