summaryrefslogtreecommitdiffabout
path: root/kmicromail/viewmailbase.h
Unidiff
Diffstat (limited to 'kmicromail/viewmailbase.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/viewmailbase.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kmicromail/viewmailbase.h b/kmicromail/viewmailbase.h
index 7ad1eec..7c075eb 100644
--- a/kmicromail/viewmailbase.h
+++ b/kmicromail/viewmailbase.h
@@ -1,38 +1,43 @@
1// CHANGED 2004-08-06 Lutz Rogowski 1// CHANGED 2004-08-06 Lutz Rogowski
2#ifndef VIEWMAILBASE_H 2#ifndef VIEWMAILBASE_H
3#define VIEWMAILBASE_H 3#define VIEWMAILBASE_H
4 4
5#include <qmainwindow.h> 5#include <qmainwindow.h>
6 6
7#ifndef DESKTOP_VERSION
8#include <qpe/qpemenubar.h>
9#define QMenuBar QPEMenuBar
10#endif
11
7class QAction; 12class QAction;
8class OpenDiag; 13class OpenDiag;
9class QListView; 14class QListView;
10class QToolBar; 15class QToolBar;
11class QTextBrowser; 16class QTextBrowser;
12class QMenuBar; 17class QMenuBar;
13class QPopupMenu; 18class QPopupMenu;
14 19
15class ViewMailBase : public QMainWindow 20class ViewMailBase : public QMainWindow
16{ 21{
17 Q_OBJECT 22 Q_OBJECT
18 23
19public: 24public:
20 ViewMailBase(QWidget *parent = 0, const char *name = 0, WFlags fl = 0); 25 ViewMailBase(QWidget *parent = 0, const char *name = 0, WFlags fl = 0);
21 26
22protected: 27protected:
23 QAction *reply, *forward, *attachbutton, *deleteMail, *showHtml, *closeMail, *nextMail, *downloadMail, *viewSource; 28 QAction *reply, *forward, *attachbutton, *deleteMail, *showHtml, *closeMail, *nextMail, *downloadMail, *viewSource;
24 QListView *attachments; 29 QListView *attachments;
25 QToolBar *toolbar; 30 QToolBar *toolbar;
26 QTextBrowser *browser; 31 QTextBrowser *browser;
27 OpenDiag *openDiag; 32 OpenDiag *openDiag;
28 QMenuBar *menubar; 33 QMenuBar *menubar;
29 QPopupMenu *mailmenu; 34 QPopupMenu *mailmenu;
30 35
31protected slots: 36protected slots:
32 void slotChangeAttachview(bool state); 37 void slotChangeAttachview(bool state);
33 virtual void keyPressEvent ( QKeyEvent * e ); 38 virtual void keyPressEvent ( QKeyEvent * e );
34 39
35 40
36}; 41};
37 42
38#endif 43#endif