author | conber <conber> | 2002-06-15 09:46:14 (UTC) |
---|---|---|
committer | conber <conber> | 2002-06-15 09:46:14 (UTC) |
commit | 7f2eef29708380844922f34f59ba4e9beefbf7c3 (patch) (side-by-side diff) | |
tree | f57125fbaabddecc35d6677f1b9e48a4594165d5 /noncore/unsupported/mail2/composer.h | |
parent | 0acbdd392814589df303b6e50c79d9822e3db27a (diff) | |
download | opie-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.h | 52 |
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 |