-rw-r--r-- | kmicromail/viewmailbase.h | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/kmicromail/viewmailbase.h b/kmicromail/viewmailbase.h index 7c075eb..3f1dead 100644 --- a/kmicromail/viewmailbase.h +++ b/kmicromail/viewmailbase.h | |||
@@ -1,44 +1,47 @@ | |||
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 <q3mainwindow.h> |
6 | //Added by qt3to4: | ||
7 | #include <Q3PopupMenu> | ||
8 | #include <QKeyEvent> | ||
6 | 9 | ||
7 | #ifndef DESKTOP_VERSION | 10 | #ifndef DESKTOP_VERSION |
8 | #include <qpe/qpemenubar.h> | 11 | #include <qpe/qpemenubar.h> |
9 | #define QMenuBar QPEMenuBar | 12 | #define QMenuBar QPEMenuBar |
10 | #endif | 13 | #endif |
11 | 14 | ||
12 | class QAction; | 15 | class QAction; |
13 | class OpenDiag; | 16 | class OpenDiag; |
14 | class QListView; | 17 | class Q3ListView; |
15 | class QToolBar; | 18 | class Q3ToolBar; |
16 | class QTextBrowser; | 19 | class Q3TextBrowser; |
17 | class QMenuBar; | 20 | class QMenuBar; |
18 | class QPopupMenu; | 21 | class Q3PopupMenu; |
19 | 22 | ||
20 | class ViewMailBase : public QMainWindow | 23 | class ViewMailBase : public Q3MainWindow |
21 | { | 24 | { |
22 | Q_OBJECT | 25 | Q_OBJECT |
23 | 26 | ||
24 | public: | 27 | public: |
25 | ViewMailBase(QWidget *parent = 0, const char *name = 0, WFlags fl = 0); | 28 | ViewMailBase(QWidget *parent = 0, const char *name = 0, Qt::WFlags fl = 0); |
26 | 29 | ||
27 | protected: | 30 | protected: |
28 | QAction *reply, *forward, *attachbutton, *deleteMail, *showHtml, *closeMail, *nextMail, *downloadMail, *viewSource; | 31 | QAction *reply, *forward, *attachbutton, *deleteMail, *showHtml, *closeMail, *nextMail, *downloadMail, *viewSource; |
29 | QListView *attachments; | 32 | Q3ListView *attachments; |
30 | QToolBar *toolbar; | 33 | Q3ToolBar *toolbar; |
31 | QTextBrowser *browser; | 34 | Q3TextBrowser *browser; |
32 | OpenDiag *openDiag; | 35 | OpenDiag *openDiag; |
33 | QMenuBar *menubar; | 36 | QMenuBar *menubar; |
34 | QPopupMenu *mailmenu; | 37 | Q3PopupMenu *mailmenu; |
35 | 38 | ||
36 | protected slots: | 39 | protected slots: |
37 | void slotChangeAttachview(bool state); | 40 | void slotChangeAttachview(bool state); |
38 | virtual void keyPressEvent ( QKeyEvent * e ); | 41 | virtual void keyPressEvent ( QKeyEvent * e ); |
39 | 42 | ||
40 | 43 | ||
41 | }; | 44 | }; |
42 | 45 | ||
43 | #endif | 46 | #endif |
44 | 47 | ||