summaryrefslogtreecommitdiff
path: root/noncore/net/mailit/readmail.h
Unidiff
Diffstat (limited to 'noncore/net/mailit/readmail.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mailit/readmail.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/net/mailit/readmail.h b/noncore/net/mailit/readmail.h
index d0bb067..0fe0646 100644
--- a/noncore/net/mailit/readmail.h
+++ b/noncore/net/mailit/readmail.h
@@ -37,50 +37,53 @@ class ReadMail : public QMainWindow
37{ 37{
38 Q_OBJECT 38 Q_OBJECT
39 39
40public: 40public:
41 ReadMail( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 41 ReadMail( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
42 ~ReadMail(); 42 ~ReadMail();
43 void update(QListView *thisView, Email *mailIn); 43 void update(QListView *thisView, Email *mailIn);
44 void updateView(); 44 void updateView();
45 void mailUpdated(Email *mailIn); 45 void mailUpdated(Email *mailIn);
46 46
47signals: 47signals:
48 void cancelView(); 48 void cancelView();
49 void replyRequested(Email &); 49 void replyRequested(Email &, bool &);
50 void forwardRequested(Email&);
50 void removeItem(EmailListItem *, bool &); 51 void removeItem(EmailListItem *, bool &);
51 void viewingMail(Email *); 52 void viewingMail(Email *);
52 53
53public slots: 54public slots:
54 void close(); 55 void close();
55 void next(); 56 void next();
56 void previous(); 57 void previous();
57 void deleteItem(); 58 void deleteItem();
58 void shiftText(); 59 void shiftText();
59 void viewAttatchments(); 60 void viewAttatchments();
60 void reply(); 61 void reply();
62 void forward();
61 63
62private: 64private:
63 void init(); 65 void init();
64 void updateButtons(); 66 void updateButtons();
65 67
66private: 68private:
67 QListView *view; 69 QListView *view;
68 EmailListItem *item; 70 EmailListItem *item;
69 bool plainTxt, inbox; 71 bool plainTxt, inbox;
70 Email *mail; 72 Email *mail;
71 ViewAtt *viewAtt; 73 ViewAtt *viewAtt;
72 74
73 QToolBar *bar; 75 QToolBar *bar;
74 QMenuBar *menu; 76 QMenuBar *menu;
75 QPopupMenu *viewMenu, *mailMenu; 77 QPopupMenu *viewMenu, *mailMenu;
76 QAction *deleteButton; 78 QAction *deleteButton;
77 QMimeSourceFactory *mime; 79 QMimeSourceFactory *mime;
78 QAction *plainTextButton; 80 QAction *plainTextButton;
79 QAction *nextButton; 81 QAction *nextButton;
80 QTextView *emailView; 82 QTextView *emailView;
81 QAction *attatchmentsButton; 83 QAction *attatchmentsButton;
82 QAction *previousButton; 84 QAction *previousButton;
83 QAction *replyButton; 85 QAction *replyButton;
86 QAction *forwardButton;
84}; 87};
85 88
86#endif // READMAIL_H 89#endif // READMAIL_H