Diffstat (limited to 'noncore/unsupported/mailit/writemail.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/mailit/writemail.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/noncore/unsupported/mailit/writemail.h b/noncore/unsupported/mailit/writemail.h index dd12063..f193b13 100644 --- a/noncore/unsupported/mailit/writemail.h +++ b/noncore/unsupported/mailit/writemail.h | |||
@@ -40,31 +40,35 @@ class WriteMail : public QMainWindow | |||
40 | { | 40 | { |
41 | Q_OBJECT | 41 | Q_OBJECT |
42 | 42 | ||
43 | public: | 43 | public: |
44 | WriteMail( QWidget* parent, const char* name, WFlags fl = 0 ); | 44 | WriteMail( QWidget* parent, const char* name, WFlags fl = 0 ); |
45 | ~WriteMail(); | 45 | ~WriteMail(); |
46 | void reply(Email replyMail); | 46 | void reply(Email replyMail, bool replyAll); |
47 | void setRecipient(const QString &recipient); | 47 | void setRecipient(const QString &recipient); |
48 | void setAddressList(AddressList *list); | 48 | void setAddressList(AddressList *list); |
49 | void forward(Email forwMail); | ||
49 | 50 | ||
50 | signals: | 51 | signals: |
51 | void sendMailRequested(const Email &mail); | 52 | void sendMailRequested(const Email &mail); |
52 | void cancelMail(); | 53 | void cancelMail(); |
54 | |||
53 | 55 | ||
54 | public slots: | 56 | public slots: |
55 | void getAddress(); | 57 | void getAddress(); |
56 | void attatchFile(); | 58 | void attatchFile(); |
57 | void addRecipients(); | 59 | void addRecipients(); |
58 | void newMail(); | 60 | void newMail(); |
59 | void accept(); | 61 | void accept(); |
60 | void reject(); | 62 | void reject(); |
63 | void changeRecipients(int); | ||
61 | 64 | ||
62 | private: | 65 | private: |
63 | bool getRecipients(); | 66 | bool getRecipients(bool); |
64 | void init(); | 67 | void init(); |
68 | void addRecipients(bool); | ||
65 | 69 | ||
66 | Email mail; | 70 | Email mail; |
67 | AddAtt *addAtt; | 71 | AddAtt *addAtt; |
68 | AddressList *addressList; | 72 | AddressList *addressList; |
69 | bool showingAddressList; | 73 | bool showingAddressList; |
70 | 74 | ||
@@ -80,12 +84,13 @@ private: | |||
80 | QAction *newButton; | 84 | QAction *newButton; |
81 | QLabel* subjetLabel; | 85 | QLabel* subjetLabel; |
82 | QToolButton* ToolButton13_2; | 86 | QToolButton* ToolButton13_2; |
83 | QComboBox* recipientsBox; | 87 | QComboBox* recipientsBox; |
84 | QLineEdit *subjectInput; | 88 | QLineEdit *subjectInput; |
85 | QLineEdit *toInput; | 89 | QLineEdit *toInput; |
90 | QLineEdit *ccInput; | ||
86 | QToolButton* addressButton; | 91 | QToolButton* addressButton; |
87 | QMultiLineEdit* emailInput; | 92 | QMultiLineEdit* emailInput; |
88 | QGridLayout* grid; | 93 | QGridLayout* grid; |
89 | }; | 94 | }; |
90 | 95 | ||
91 | #endif // WRITEMAIL_H | 96 | #endif // WRITEMAIL_H |