summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/composerbase.h
Unidiff
Diffstat (limited to 'noncore/unsupported/mail2/composerbase.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/composerbase.h55
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 @@
1#ifndef COMPOSERBASE_H
2#define COMPOSERBASE_H
3
4#include <qmainwindow.h>
5
6class QMultiLineEdit;
7class ListViewPlus;
8class QPopupMenu;
9class QComboBox;
10class QLineEdit;
11class QToolBar;
12class QAction;
13class QLabel;
14
15class ComposerBase : public QMainWindow
16{
17 Q_OBJECT
18
19public:
20 ComposerBase(QWidget *parent = 0, const char *name = 0, WFlags fl = 0);
21
22protected:
23 static const int POPUP_FROM_FROM = 0;
24 static const int POPUP_FROM_REPLYTO = 1;
25 static const int POPUP_RECV_TO = 0;
26 static const int POPUP_RECV_CC = 1;
27 static const int POPUP_RECV_BCC = 2;
28 static const int POPUP_SUBJ_SUBJECT = 0;
29 static const int POPUP_SUBJ_PRIORITY = 1;
30 static const int POPUP_PRIO_LOW = 0;
31 static const int POPUP_PRIO_NORMAL = 1;
32 static const int POPUP_PRIO_HIGH = 2;
33 static const int POPUP_ATTACH_RENAME = 0;
34 static const int POPUP_ATTACH_DESC = 1;
35 static const int POPUP_ATTACH_REMOVE = 2;
36
37 QMultiLineEdit *message;
38 ListViewPlus *attachView;
39 QMainWindow *attachWindow;
40 QPopupMenu *attachPopup;
41 QComboBox *fromBox, *from, *receiversBox, *subjectBox, *priority;
42 QLineEdit *replyto, *to, *cc, *bcc, *subject;
43 QToolBar *toolbar, *attachToolbar;
44 QAction *sendmail, *attachfile, *addressbook, *abort, *addattach, *delattach;
45 QLabel *fromLabel, *status;
46
47protected slots:
48 void slotAttachfileChanged(bool toggled);
49 void slotFromMenuChanged(int id);
50 void slotReceiverMenuChanged(int id);
51 void slotSubjectMenuChanged(int id);
52
53};
54
55#endif