summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/composer.h
Unidiff
Diffstat (limited to 'noncore/unsupported/mail2/composer.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/composer.h7
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
18private: 18private:
19 Attachment _attachment; 19 Attachment _attachment;
20 20
21}; 21};
22 22
23class Composer : public ComposerBase 23class Composer : public ComposerBase
24{ 24{
25 Q_OBJECT 25 Q_OBJECT
26 26
27public: 27public:
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
36public slots:
37 void slotSendQueued();
38
36protected slots: 39protected 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
48protected: 52protected:
49 QValueList<Account> accountsLoaded; 53 QValueList<Account> accountsLoaded;
50 54
51private: 55private:
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