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.h6
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
6class QMultiLineEdit; 6class QMultiLineEdit;
7class MailStatusBar;
7class ListViewPlus; 8class ListViewPlus;
8class QPopupMenu; 9class QPopupMenu;
9class QPEToolBar; 10class QPEToolBar;
10class QPEMenuBar; 11class QPEMenuBar;
11class QPopupMenu; 12class QPopupMenu;
12class QComboBox; 13class QComboBox;
13class QLineEdit; 14class QLineEdit;
14class QAction; 15class QAction;
15class QLabel; 16class QLabel;
16 17
17class ComposerBase : public QMainWindow 18class ComposerBase : public QMainWindow
18{ 19{
19 Q_OBJECT 20 Q_OBJECT
20 21
21public: 22public:
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
24protected: 25protected:
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
51protected slots: 53protected 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