Diffstat (limited to 'noncore/net/mail/composemail.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/composemail.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/mail/composemail.h b/noncore/net/mail/composemail.h index 1b9fc79..c12eb30 100644 --- a/noncore/net/mail/composemail.h +++ b/noncore/net/mail/composemail.h | |||
@@ -1,24 +1,26 @@ | |||
1 | #ifndef COMPOSEMAIL_H | 1 | #ifndef COMPOSEMAIL_H |
2 | #define COMPOSEMAIL_H | 2 | #define COMPOSEMAIL_H |
3 | 3 | ||
4 | #include <qlineedit.h> | 4 | #include <qlineedit.h> |
5 | #include <qlistview.h> | 5 | #include <qlistview.h> |
6 | 6 | ||
7 | #include "composemailui.h" | 7 | #include "composemailui.h" |
8 | #include "addresspickerui.h" | 8 | #include "addresspickerui.h" |
9 | #include <libmailwrapper/settings.h> | 9 | #include <libmailwrapper/settings.h> |
10 | #include <libmailwrapper/mailwrapper.h> | 10 | #include <libmailwrapper/mailwrapper.h> |
11 | 11 | ||
12 | class RecMail; | ||
12 | 13 | ||
14 | #include <opie2/osmartpointer.h> | ||
13 | 15 | ||
14 | class AddressPicker : public AddressPickerUI | 16 | class AddressPicker : public AddressPickerUI |
15 | { | 17 | { |
16 | Q_OBJECT | 18 | Q_OBJECT |
17 | 19 | ||
18 | public: | 20 | public: |
19 | AddressPicker( QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); | 21 | AddressPicker( QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); |
20 | static QString getNames(); | 22 | static QString getNames(); |
21 | 23 | ||
22 | protected: | 24 | protected: |
23 | QString selectedNames; | 25 | QString selectedNames; |
24 | void accept(); | 26 | void accept(); |
@@ -26,25 +28,25 @@ protected: | |||
26 | }; | 28 | }; |
27 | 29 | ||
28 | class RecMail; | 30 | class RecMail; |
29 | 31 | ||
30 | class ComposeMail : public ComposeMailUI | 32 | class ComposeMail : public ComposeMailUI |
31 | { | 33 | { |
32 | Q_OBJECT | 34 | Q_OBJECT |
33 | 35 | ||
34 | public: | 36 | public: |
35 | ComposeMail( Settings *s, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); | 37 | ComposeMail( Settings *s, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); |
36 | virtual ~ComposeMail(); | 38 | virtual ~ComposeMail(); |
37 | 39 | ||
38 | void reEditMail(const RecMail¤t); | 40 | void reEditMail(const Opie::OSmartPointer<RecMail>¤t); |
39 | 41 | ||
40 | public slots: | 42 | public slots: |
41 | void slotAdjustColumns(); | 43 | void slotAdjustColumns(); |
42 | 44 | ||
43 | void setTo( const QString & to ); | 45 | void setTo( const QString & to ); |
44 | void setSubject( const QString & subject ); | 46 | void setSubject( const QString & subject ); |
45 | void setInReplyTo( const QString & messageId ); | 47 | void setInReplyTo( const QString & messageId ); |
46 | void setMessage( const QString & text ); | 48 | void setMessage( const QString & text ); |
47 | 49 | ||
48 | protected slots: | 50 | protected slots: |
49 | void accept(); | 51 | void accept(); |
50 | void reject(); | 52 | void reject(); |