Diffstat (limited to 'noncore/net/mail/composemail.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/composemail.h | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/noncore/net/mail/composemail.h b/noncore/net/mail/composemail.h index 886fb1d..1b9fc79 100644 --- a/noncore/net/mail/composemail.h +++ b/noncore/net/mail/composemail.h | |||
@@ -10,43 +10,48 @@ | |||
10 | #include <libmailwrapper/mailwrapper.h> | 10 | #include <libmailwrapper/mailwrapper.h> |
11 | 11 | ||
12 | 12 | ||
13 | 13 | ||
14 | class AddressPicker : public AddressPickerUI | 14 | class AddressPicker : public AddressPickerUI |
15 | { | 15 | { |
16 | Q_OBJECT | 16 | Q_OBJECT |
17 | 17 | ||
18 | public: | 18 | public: |
19 | AddressPicker( QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); | 19 | AddressPicker( QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); |
20 | static QString getNames(); | 20 | static QString getNames(); |
21 | 21 | ||
22 | protected: | 22 | protected: |
23 | QString selectedNames; | 23 | QString selectedNames; |
24 | void accept(); | 24 | void accept(); |
25 | 25 | ||
26 | }; | 26 | }; |
27 | 27 | ||
28 | class RecMail; | ||
28 | 29 | ||
29 | class ComposeMail : public ComposeMailUI | 30 | class ComposeMail : public ComposeMailUI |
30 | { | 31 | { |
31 | Q_OBJECT | 32 | Q_OBJECT |
32 | 33 | ||
33 | public: | 34 | public: |
34 | ComposeMail( Settings *s, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); | 35 | ComposeMail( Settings *s, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); |
36 | virtual ~ComposeMail(); | ||
37 | |||
38 | void reEditMail(const RecMail¤t); | ||
35 | 39 | ||
36 | public slots: | 40 | public slots: |
37 | void slotAdjustColumns(); | 41 | void slotAdjustColumns(); |
38 | 42 | ||
39 | void setTo( const QString & to ); | 43 | void setTo( const QString & to ); |
40 | void setSubject( const QString & subject ); | 44 | void setSubject( const QString & subject ); |
41 | void setInReplyTo( const QString & messageId ); | 45 | void setInReplyTo( const QString & messageId ); |
42 | void setMessage( const QString & text ); | 46 | void setMessage( const QString & text ); |
43 | 47 | ||
44 | protected slots: | 48 | protected slots: |
45 | void accept(); | 49 | void accept(); |
46 | 50 | void reject(); | |
51 | |||
47 | private slots: | 52 | private slots: |
48 | void fillValues( int current ); | 53 | void fillValues( int current ); |
49 | void pickAddress( QLineEdit *line ); | 54 | void pickAddress( QLineEdit *line ); |
50 | void pickAddressTo(); | 55 | void pickAddressTo(); |
51 | void pickAddressCC(); | 56 | void pickAddressCC(); |
52 | void pickAddressBCC(); | 57 | void pickAddressBCC(); |
@@ -59,16 +64,16 @@ protected: | |||
59 | QList<SMTPaccount> smtpAccounts; | 64 | QList<SMTPaccount> smtpAccounts; |
60 | QString m_replyid; | 65 | QString m_replyid; |
61 | }; | 66 | }; |
62 | 67 | ||
63 | class AttachViewItem : public QListViewItem | 68 | class AttachViewItem : public QListViewItem |
64 | { | 69 | { |
65 | public: | 70 | public: |
66 | AttachViewItem( QListView *parent, Attachment *att ); | 71 | AttachViewItem( QListView *parent, Attachment *att ); |
67 | Attachment *getAttachment() { return attachment; } | 72 | Attachment *getAttachment() { return attachment; } |
68 | 73 | ||
69 | private: | 74 | private: |
70 | Attachment *attachment; | 75 | Attachment *attachment; |
71 | 76 | ||
72 | }; | 77 | }; |
73 | 78 | ||
74 | #endif | 79 | #endif |