Diffstat (limited to 'noncore/unsupported/mail2/composer.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/mail2/composer.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/unsupported/mail2/composer.h b/noncore/unsupported/mail2/composer.h index 2640d7e..00235bf 100644 --- a/noncore/unsupported/mail2/composer.h +++ b/noncore/unsupported/mail2/composer.h | |||
@@ -16,42 +16,47 @@ public: | |||
16 | Attachment attachment() { return _attachment; } | 16 | Attachment attachment() { return _attachment; } |
17 | 17 | ||
18 | private: | 18 | private: |
19 | Attachment _attachment; | 19 | Attachment _attachment; |
20 | 20 | ||
21 | }; | 21 | }; |
22 | 22 | ||
23 | class Composer : public ComposerBase | 23 | class Composer : public ComposerBase |
24 | { | 24 | { |
25 | Q_OBJECT | 25 | Q_OBJECT |
26 | 26 | ||
27 | public: | 27 | public: |
28 | Composer(QWidget *parent = 0, const char *name = 0, WFlags fl = Qt::WType_Modal); | 28 | Composer(QWidget *parent = 0, const char *name = 0, WFlags fl = Qt::WType_Modal, bool sendQueue = false); |
29 | ~Composer(); | 29 | ~Composer(); |
30 | 30 | ||
31 | void hide(); | 31 | void hide(); |
32 | void exec(); | 32 | void exec(); |
33 | 33 | ||
34 | void setSendMail(SendMail &sendMail); | 34 | void setSendMail(SendMail &sendMail); |
35 | 35 | ||
36 | public slots: | ||
37 | void slotSendQueued(); | ||
38 | |||
36 | protected slots: | 39 | protected slots: |
37 | void slotPopupHandler(int itemid); | 40 | void slotPopupHandler(int itemid); |
38 | void slotSendMail(); | 41 | void slotSendMail(); |
42 | void slotQueueMail(); | ||
39 | void slotSendError(const QString &); | 43 | void slotSendError(const QString &); |
40 | void slotSendFinished(); | 44 | void slotSendFinished(); |
41 | void slotResizing(); | 45 | void slotResizing(); |
42 | void slotFillStuff(); | 46 | void slotFillStuff(); |
43 | void slotFromChanged(int id); | 47 | void slotFromChanged(int id); |
44 | void slotOpenAddressPicker(); | 48 | void slotOpenAddressPicker(); |
45 | void slotAddAttach(); | 49 | void slotAddAttach(); |
46 | void slotDelAttach(); | 50 | void slotDelAttach(); |
47 | 51 | ||
48 | protected: | 52 | protected: |
49 | QValueList<Account> accountsLoaded; | 53 | QValueList<Account> accountsLoaded; |
50 | 54 | ||
51 | private: | 55 | private: |
56 | bool _sendQueued; | ||
52 | bool _inLoop; | 57 | bool _inLoop; |
53 | QString _inReplyTo; | 58 | QString _inReplyTo; |
54 | 59 | ||
55 | }; | 60 | }; |
56 | 61 | ||
57 | #endif | 62 | #endif |