-rw-r--r-- | kmicromail/composemail.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kmicromail/composemail.h b/kmicromail/composemail.h index e20d9e1..0fc41fb 100644 --- a/kmicromail/composemail.h +++ b/kmicromail/composemail.h | |||
@@ -11,80 +11,81 @@ | |||
11 | 11 | ||
12 | class RecMail; | 12 | class RecMail; |
13 | 13 | ||
14 | #include <opie2/osmartpointer.h> | 14 | #include <opie2/osmartpointer.h> |
15 | #if 0 | 15 | #if 0 |
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 ); | 21 | AddressPicker( QWidget *parent = 0, const char *name = 0, bool modal = false ); |
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 | #endif | 29 | #endif |
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 | 37 | ||
38 | ComposeMail( Settings *s, QWidget *parent = 0, const char *name = 0, bool modal = false ); | 38 | ComposeMail( Settings *s, QWidget *parent = 0, const char *name = 0, bool modal = false ); |
39 | virtual ~ComposeMail(); | 39 | virtual ~ComposeMail(); |
40 | 40 | ||
41 | void reEditMail(const Opie::Core::OSmartPointer<RecMail>¤t); | 41 | void reEditMail(const Opie::Core::OSmartPointer<RecMail>¤t); |
42 | 42 | ||
43 | public slots: | 43 | public slots: |
44 | void slotAdjustColumns(); | 44 | void slotAdjustColumns(); |
45 | 45 | ||
46 | void setTo( const QString & to ); | 46 | void setTo( const QString & to ); |
47 | void setSubject( const QString & subject ); | 47 | void setSubject( const QString & subject ); |
48 | void setInReplyTo( const QString & messageId ); | 48 | void setInReplyTo( const QString & messageId ); |
49 | void setMessage( const QString & text ); | 49 | void setMessage( const QString & text ); |
50 | void insertAttendees(const QString&, const QStringList& namelist, const QStringList& emaillist, const QStringList& uidlist); | 50 | void insertAttendees(const QString&, const QStringList& namelist, const QStringList& emaillist, const QStringList& uidlist); |
51 | 51 | ||
52 | 52 | ||
53 | protected slots: | 53 | protected slots: |
54 | void accept(); | 54 | void accept(); |
55 | void reject(); | 55 | void reject(); |
56 | 56 | ||
57 | private slots: | 57 | private slots: |
58 | void fillValues( int current ); | 58 | void fillValues( int current ); |
59 | void fillSettings(); | ||
59 | void pickAddress(); | 60 | void pickAddress(); |
60 | void pickAddressTo(); | 61 | void pickAddressTo(); |
61 | void pickAddressCC(); | 62 | void pickAddressCC(); |
62 | void pickAddressBCC(); | 63 | void pickAddressBCC(); |
63 | void pickAddressReply(); | 64 | void pickAddressReply(); |
64 | void saveAsDraft(); | 65 | void saveAsDraft(); |
65 | void addAttachment(); | 66 | void addAttachment(); |
66 | void removeAttachment(); | 67 | void removeAttachment(); |
67 | void clearStatus(); | 68 | void clearStatus(); |
68 | void setStatus( QString ); | 69 | void setStatus( QString ); |
69 | 70 | ||
70 | protected: | 71 | protected: |
71 | QLineEdit* mPickLineEdit; | 72 | QLineEdit* mPickLineEdit; |
72 | Opie::Core::OSmartPointer<Mail> mMail; | 73 | Opie::Core::OSmartPointer<Mail> mMail; |
73 | Settings *settings; | 74 | Settings *settings; |
74 | QList<SMTPaccount> smtpAccounts; | 75 | QList<SMTPaccount> smtpAccounts; |
75 | QString m_replyid; | 76 | QString m_replyid; |
76 | bool warnAttach; | 77 | bool warnAttach; |
77 | }; | 78 | }; |
78 | 79 | ||
79 | class AttachViewItem : public QListViewItem | 80 | class AttachViewItem : public QListViewItem |
80 | { | 81 | { |
81 | public: | 82 | public: |
82 | AttachViewItem( QListView *parent, Attachment *att ); | 83 | AttachViewItem( QListView *parent, Attachment *att ); |
83 | Attachment *getAttachment() { return attachment; } | 84 | Attachment *getAttachment() { return attachment; } |
84 | 85 | ||
85 | private: | 86 | private: |
86 | Attachment *attachment; | 87 | Attachment *attachment; |
87 | 88 | ||
88 | }; | 89 | }; |
89 | 90 | ||
90 | #endif | 91 | #endif |