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