summaryrefslogtreecommitdiffabout
path: root/kmicromail/viewmailbase.h
blob: 3f1deade01a4e9223979a89da35b93d05bd42fe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// CHANGED 2004-08-06 Lutz Rogowski
#ifndef VIEWMAILBASE_H
#define VIEWMAILBASE_H

#include <q3mainwindow.h>
//Added by qt3to4:
#include <Q3PopupMenu>
#include <QKeyEvent>

#ifndef DESKTOP_VERSION
#include <qpe/qpemenubar.h>
#define QMenuBar QPEMenuBar
#endif

class QAction;
class OpenDiag;
class Q3ListView;
class Q3ToolBar;
class Q3TextBrowser;
class QMenuBar;
class Q3PopupMenu;

class ViewMailBase : public Q3MainWindow
{
	Q_OBJECT

public:
	ViewMailBase(QWidget *parent = 0, const char *name = 0, Qt::WFlags fl = 0);

protected:
	QAction *reply, *forward, *attachbutton, *deleteMail, *showHtml, *closeMail, *nextMail, *downloadMail, *viewSource;
	Q3ListView *attachments;
	Q3ToolBar *toolbar;
	Q3TextBrowser *browser;
	OpenDiag *openDiag;
 	QMenuBar *menubar;
    Q3PopupMenu *mailmenu;

protected slots:
	void slotChangeAttachview(bool state);
    virtual void keyPressEvent ( QKeyEvent * e );


};

#endif