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