author | zecke <zecke> | 2004-03-14 13:22:42 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-14 13:22:42 (UTC) |
commit | 0f7217afa7cdcb108dd2afba0ff6b42c97ab6f44 (patch) (unidiff) | |
tree | f6a68afa76a9be4099c3de7a286caeadd250c966 /noncore/net/mail/composemail.h | |
parent | d9d68663164078b8dbdbfe70d291291b9fd5aacf (diff) | |
download | opie-0f7217afa7cdcb108dd2afba0ff6b42c97ab6f44.zip opie-0f7217afa7cdcb108dd2afba0ff6b42c97ab6f44.tar.gz opie-0f7217afa7cdcb108dd2afba0ff6b42c97ab6f44.tar.bz2 |
Convert net to ODP and QtAUX
Diffstat (limited to 'noncore/net/mail/composemail.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/composemail.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/mail/composemail.h b/noncore/net/mail/composemail.h index c12eb30..4693927 100644 --- a/noncore/net/mail/composemail.h +++ b/noncore/net/mail/composemail.h | |||
@@ -1,81 +1,81 @@ | |||
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 | class RecMail; |
13 | 13 | ||
14 | #include <opie2/osmartpointer.h> | 14 | #include <opie2/osmartpointer.h> |
15 | 15 | ||
16 | class AddressPicker : public AddressPickerUI | 16 | class AddressPicker : public AddressPickerUI |
17 | { | 17 | { |
18 | Q_OBJECT | 18 | Q_OBJECT |
19 | 19 | ||
20 | public: | 20 | public: |
21 | 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 ); |
22 | static QString getNames(); | 22 | static QString getNames(); |
23 | 23 | ||
24 | protected: | 24 | protected: |
25 | QString selectedNames; | 25 | QString selectedNames; |
26 | void accept(); | 26 | void accept(); |
27 | 27 | ||
28 | }; | 28 | }; |
29 | 29 | ||
30 | class RecMail; | 30 | class RecMail; |
31 | 31 | ||
32 | class ComposeMail : public ComposeMailUI | 32 | class ComposeMail : public ComposeMailUI |
33 | { | 33 | { |
34 | Q_OBJECT | 34 | Q_OBJECT |
35 | 35 | ||
36 | public: | 36 | public: |
37 | 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 ); |
38 | virtual ~ComposeMail(); | 38 | virtual ~ComposeMail(); |
39 | 39 | ||
40 | void reEditMail(const Opie::OSmartPointer<RecMail>¤t); | 40 | void reEditMail(const Opie::Core::OSmartPointer<RecMail>¤t); |
41 | 41 | ||
42 | public slots: | 42 | public slots: |
43 | void slotAdjustColumns(); | 43 | void slotAdjustColumns(); |
44 | 44 | ||
45 | void setTo( const QString & to ); | 45 | void setTo( const QString & to ); |
46 | void setSubject( const QString & subject ); | 46 | void setSubject( const QString & subject ); |
47 | void setInReplyTo( const QString & messageId ); | 47 | void setInReplyTo( const QString & messageId ); |
48 | void setMessage( const QString & text ); | 48 | void setMessage( const QString & text ); |
49 | 49 | ||
50 | protected slots: | 50 | protected slots: |
51 | void accept(); | 51 | void accept(); |
52 | void reject(); | 52 | void reject(); |
53 | 53 | ||
54 | private slots: | 54 | private slots: |
55 | void fillValues( int current ); | 55 | void fillValues( int current ); |
56 | void pickAddress( QLineEdit *line ); | 56 | void pickAddress( QLineEdit *line ); |
57 | void pickAddressTo(); | 57 | void pickAddressTo(); |
58 | void pickAddressCC(); | 58 | void pickAddressCC(); |
59 | void pickAddressBCC(); | 59 | void pickAddressBCC(); |
60 | void pickAddressReply(); | 60 | void pickAddressReply(); |
61 | void addAttachment(); | 61 | void addAttachment(); |
62 | void removeAttachment(); | 62 | void removeAttachment(); |
63 | 63 | ||
64 | protected: | 64 | protected: |
65 | Settings *settings; | 65 | Settings *settings; |
66 | QList<SMTPaccount> smtpAccounts; | 66 | QList<SMTPaccount> smtpAccounts; |
67 | QString m_replyid; | 67 | QString m_replyid; |
68 | }; | 68 | }; |
69 | 69 | ||
70 | class AttachViewItem : public QListViewItem | 70 | class AttachViewItem : public QListViewItem |
71 | { | 71 | { |
72 | public: | 72 | public: |
73 | AttachViewItem( QListView *parent, Attachment *att ); | 73 | AttachViewItem( QListView *parent, Attachment *att ); |
74 | Attachment *getAttachment() { return attachment; } | 74 | Attachment *getAttachment() { return attachment; } |
75 | 75 | ||
76 | private: | 76 | private: |
77 | Attachment *attachment; | 77 | Attachment *attachment; |
78 | 78 | ||
79 | }; | 79 | }; |
80 | 80 | ||
81 | #endif | 81 | #endif |