author | zautrix <zautrix> | 2004-11-07 10:11:25 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-11-07 10:11:25 (UTC) |
commit | b6ef669713ee1d52adcfc9754dd039a4ff6675da (patch) (unidiff) | |
tree | eac59d1b135cbf87e0b9aca21213115331995203 /kmicromail/composemail.h | |
parent | dcb3a171bca38934185de67e378956e6fd044f17 (diff) | |
download | kdepimpi-b6ef669713ee1d52adcfc9754dd039a4ff6675da.zip kdepimpi-b6ef669713ee1d52adcfc9754dd039a4ff6675da.tar.gz kdepimpi-b6ef669713ee1d52adcfc9754dd039a4ff6675da.tar.bz2 |
encoding fixes
-rw-r--r-- | kmicromail/composemail.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kmicromail/composemail.h b/kmicromail/composemail.h index 0fc41fb..a7fa41c 100644 --- a/kmicromail/composemail.h +++ b/kmicromail/composemail.h | |||
@@ -3,89 +3,91 @@ | |||
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 | #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 | void setCharset(const QString&); | ||
51 | 52 | ||
52 | 53 | ||
53 | protected slots: | 54 | protected slots: |
54 | void accept(); | 55 | void accept(); |
55 | void reject(); | 56 | void reject(); |
56 | 57 | ||
57 | private slots: | 58 | private slots: |
58 | void fillValues( int current ); | 59 | void fillValues( int current ); |
59 | void fillSettings(); | 60 | void fillSettings(); |
60 | void pickAddress(); | 61 | void pickAddress(); |
61 | void pickAddressTo(); | 62 | void pickAddressTo(); |
62 | void pickAddressCC(); | 63 | void pickAddressCC(); |
63 | void pickAddressBCC(); | 64 | void pickAddressBCC(); |
64 | void pickAddressReply(); | 65 | void pickAddressReply(); |
65 | void saveAsDraft(); | 66 | void saveAsDraft(); |
66 | void addAttachment(); | 67 | void addAttachment(); |
67 | void removeAttachment(); | 68 | void removeAttachment(); |
68 | void clearStatus(); | 69 | void clearStatus(); |
69 | void setStatus( QString ); | 70 | void setStatus( QString ); |
70 | 71 | ||
71 | protected: | 72 | protected: |
72 | QLineEdit* mPickLineEdit; | 73 | QLineEdit* mPickLineEdit; |
73 | Opie::Core::OSmartPointer<Mail> mMail; | 74 | Opie::Core::OSmartPointer<Mail> mMail; |
74 | Settings *settings; | 75 | Settings *settings; |
75 | QList<SMTPaccount> smtpAccounts; | 76 | QList<SMTPaccount> smtpAccounts; |
76 | QString m_replyid; | 77 | QString m_replyid; |
78 | QString mEncoding; | ||
77 | bool warnAttach; | 79 | bool warnAttach; |
78 | }; | 80 | }; |
79 | 81 | ||
80 | class AttachViewItem : public QListViewItem | 82 | class AttachViewItem : public QListViewItem |
81 | { | 83 | { |
82 | public: | 84 | public: |
83 | AttachViewItem( QListView *parent, Attachment *att ); | 85 | AttachViewItem( QListView *parent, Attachment *att ); |
84 | Attachment *getAttachment() { return attachment; } | 86 | Attachment *getAttachment() { return attachment; } |
85 | 87 | ||
86 | private: | 88 | private: |
87 | Attachment *attachment; | 89 | Attachment *attachment; |
88 | 90 | ||
89 | }; | 91 | }; |
90 | 92 | ||
91 | #endif | 93 | #endif |