blob: a1af121ce2bd764e303a39b25daba94610324fba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#ifndef COMPOSER_H
#define COMPOSER_H
#include <qlistview.h>
#include <qpe/applnk.h>
#include "mailfactory.h"
#include "composerbase.h"
#include "configfile.h"
class AttachViewItem : public QListViewItem
{
public:
AttachViewItem(QListView *parent, Attachment &attachment);
Attachment attachment() { return _attachment; }
private:
Attachment _attachment;
};
class Composer : public ComposerBase
{
Q_OBJECT
public:
Composer(QWidget *parent = 0, const char *name = 0, WFlags fl = Qt::WType_Modal);
void setSendMail(SendMail &sendMail);
protected slots:
void slotPopupHandler(int itemid);
void slotSendMail();
void slotSendError(const QString &);
void slotSendFinished();
void slotResizing();
void slotFillStuff();
void slotFromChanged(int id);
void slotOpenAddressPicker();
void slotAddAttach();
void slotDelAttach();
protected:
QValueList<Account> accountsLoaded;
private:
QString _inReplyTo;
};
#endif
|