summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/composer.h
Side-by-side diff
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 @@
+#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