summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/composer.h
authorconber <conber>2002-06-15 09:46:14 (UTC)
committer conber <conber>2002-06-15 09:46:14 (UTC)
commit7f2eef29708380844922f34f59ba4e9beefbf7c3 (patch) (unidiff)
treef57125fbaabddecc35d6677f1b9e48a4594165d5 /noncore/unsupported/mail2/composer.h
parent0acbdd392814589df303b6e50c79d9822e3db27a (diff)
downloadopie-7f2eef29708380844922f34f59ba4e9beefbf7c3.zip
opie-7f2eef29708380844922f34f59ba4e9beefbf7c3.tar.gz
opie-7f2eef29708380844922f34f59ba4e9beefbf7c3.tar.bz2
initial checkin
Diffstat (limited to 'noncore/unsupported/mail2/composer.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/composer.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/noncore/unsupported/mail2/composer.h b/noncore/unsupported/mail2/composer.h
new file mode 100644
index 0000000..a1af121
--- a/dev/null
+++ b/noncore/unsupported/mail2/composer.h
@@ -0,0 +1,52 @@
1#ifndef COMPOSER_H
2#define COMPOSER_H
3
4#include <qlistview.h>
5#include <qpe/applnk.h>
6
7#include "mailfactory.h"
8#include "composerbase.h"
9#include "configfile.h"
10
11class AttachViewItem : public QListViewItem
12{
13public:
14 AttachViewItem(QListView *parent, Attachment &attachment);
15
16 Attachment attachment() { return _attachment; }
17
18private:
19 Attachment _attachment;
20
21};
22
23class Composer : public ComposerBase
24{
25 Q_OBJECT
26
27public:
28 Composer(QWidget *parent = 0, const char *name = 0, WFlags fl = Qt::WType_Modal);
29
30 void setSendMail(SendMail &sendMail);
31
32protected slots:
33 void slotPopupHandler(int itemid);
34 void slotSendMail();
35 void slotSendError(const QString &);
36 void slotSendFinished();
37 void slotResizing();
38 void slotFillStuff();
39 void slotFromChanged(int id);
40 void slotOpenAddressPicker();
41 void slotAddAttach();
42 void slotDelAttach();
43
44protected:
45 QValueList<Account> accountsLoaded;
46
47private:
48 QString _inReplyTo;
49
50};
51
52#endif