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/composerbase.h | |
parent | 0acbdd392814589df303b6e50c79d9822e3db27a (diff) | |
download | opie-7f2eef29708380844922f34f59ba4e9beefbf7c3.zip opie-7f2eef29708380844922f34f59ba4e9beefbf7c3.tar.gz opie-7f2eef29708380844922f34f59ba4e9beefbf7c3.tar.bz2 |
initial checkin
Diffstat (limited to 'noncore/unsupported/mail2/composerbase.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/mail2/composerbase.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/noncore/unsupported/mail2/composerbase.h b/noncore/unsupported/mail2/composerbase.h new file mode 100644 index 0000000..e5fab67 --- a/dev/null +++ b/noncore/unsupported/mail2/composerbase.h @@ -0,0 +1,55 @@ +#ifndef COMPOSERBASE_H +#define COMPOSERBASE_H + +#include <qmainwindow.h> + +class QMultiLineEdit; +class ListViewPlus; +class QPopupMenu; +class QComboBox; +class QLineEdit; +class QToolBar; +class QAction; +class QLabel; + +class ComposerBase : public QMainWindow +{ + Q_OBJECT + +public: + ComposerBase(QWidget *parent = 0, const char *name = 0, WFlags fl = 0); + +protected: + static const int POPUP_FROM_FROM = 0; + static const int POPUP_FROM_REPLYTO = 1; + static const int POPUP_RECV_TO = 0; + static const int POPUP_RECV_CC = 1; + static const int POPUP_RECV_BCC = 2; + static const int POPUP_SUBJ_SUBJECT = 0; + static const int POPUP_SUBJ_PRIORITY = 1; + static const int POPUP_PRIO_LOW = 0; + static const int POPUP_PRIO_NORMAL = 1; + static const int POPUP_PRIO_HIGH = 2; + static const int POPUP_ATTACH_RENAME = 0; + static const int POPUP_ATTACH_DESC = 1; + static const int POPUP_ATTACH_REMOVE = 2; + + QMultiLineEdit *message; + ListViewPlus *attachView; + QMainWindow *attachWindow; + QPopupMenu *attachPopup; + QComboBox *fromBox, *from, *receiversBox, *subjectBox, *priority; + QLineEdit *replyto, *to, *cc, *bcc, *subject; + QToolBar *toolbar, *attachToolbar; + QAction *sendmail, *attachfile, *addressbook, *abort, *addattach, *delattach; + QLabel *fromLabel, *status; + +protected slots: + void slotAttachfileChanged(bool toggled); + void slotFromMenuChanged(int id); + void slotReceiverMenuChanged(int id); + void slotSubjectMenuChanged(int id); + +}; + +#endif |