-rw-r--r-- | kmicromail/viewmail.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kmicromail/viewmail.h b/kmicromail/viewmail.h index d85b8b2..561989e 100644 --- a/kmicromail/viewmail.h +++ b/kmicromail/viewmail.h | |||
@@ -36,41 +36,43 @@ class ViewMail : public ViewMailBase | |||
36 | public: | 36 | public: |
37 | ViewMail( QWidget *parent = 0, const char *name = 0, WFlags fl = 0); | 37 | ViewMail( QWidget *parent = 0, const char *name = 0, WFlags fl = 0); |
38 | ~ViewMail(); | 38 | ~ViewMail(); |
39 | 39 | ||
40 | void hide(); | 40 | void hide(); |
41 | void exec(); | 41 | void exec(); |
42 | void setMail(const RecMailP&mail ); | 42 | void setMail(const RecMailP&mail ); |
43 | void setBody(const RecBodyP&body); | 43 | void setBody(const RecBodyP&body); |
44 | bool deleted; | 44 | bool deleted; |
45 | signals: | 45 | signals: |
46 | void showNextMail(ViewMail*); | 46 | void showNextMail(ViewMail*); |
47 | void deleteAndDisplayNextMail(ViewMail *); | 47 | void deleteAndDisplayNextMail(ViewMail *); |
48 | void signalDownloadMail(); | ||
48 | protected: | 49 | protected: |
49 | QString deHtml(const QString &string); | 50 | QString deHtml(const QString &string); |
50 | AttachItem* searchParent(const QValueList<int>&path); | 51 | AttachItem* searchParent(const QValueList<int>&path); |
51 | AttachItem* lastChild(AttachItem*parent); | 52 | AttachItem* lastChild(AttachItem*parent); |
52 | 53 | ||
53 | protected slots: | 54 | protected slots: |
54 | void slotNextMail() { emit showNextMail(this); }; | 55 | void slotNextMail() { emit showNextMail(this); }; |
55 | void slotReply(); | 56 | void slotReply(); |
56 | void slotForward(); | 57 | void slotForward(); |
57 | void setText(); | 58 | void setText(); |
58 | void slotItemClicked( QListViewItem * item , const QPoint & point, int c ); | 59 | void slotItemClicked( QListViewItem * item , const QPoint & point, int c ); |
59 | void slotDeleteMail( ); | 60 | void slotDeleteMail( ); |
60 | void slotShowHtml( bool ); | 61 | void slotShowHtml( bool ); |
62 | void slotViewSource(); | ||
61 | 63 | ||
62 | private: | 64 | private: |
63 | void readConfig(); | 65 | void readConfig(); |
64 | 66 | bool sourceOn;; | |
65 | bool _inLoop; | 67 | bool _inLoop; |
66 | QString m_mailHtml; | 68 | QString m_mailHtml; |
67 | bool m_gotBody; | 69 | bool m_gotBody; |
68 | RecBodyP m_body; | 70 | RecBodyP m_body; |
69 | RecMailP m_recMail; | 71 | RecMailP m_recMail; |
70 | bool m_showHtml; | 72 | bool m_showHtml; |
71 | 73 | ||
72 | // 0 from 1 subject 2 bodytext 3 date | 74 | // 0 from 1 subject 2 bodytext 3 date |
73 | QMap <int,QString> m_mail; | 75 | QMap <int,QString> m_mail; |
74 | // 0 to 1 cc 2 bcc | 76 | // 0 to 1 cc 2 bcc |
75 | QMap <int,QStringList> m_mail2; | 77 | QMap <int,QStringList> m_mail2; |
76 | }; | 78 | }; |