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