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