summaryrefslogtreecommitdiffabout
path: root/kmicromail/viewmailbase.h
blob: 7c075ebfb489637b9debdaed7772ee0d385cf21a (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
// CHANGED 2004-08-06 Lutz Rogowski
#ifndef VIEWMAILBASE_H
#define VIEWMAILBASE_H

#include <qmainwindow.h>

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

class QAction;
class OpenDiag;
class QListView;
class QToolBar;
class QTextBrowser;
class QMenuBar;
class QPopupMenu;

class ViewMailBase : public QMainWindow
{
	Q_OBJECT

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

protected:
	QAction *reply, *forward, *attachbutton, *deleteMail, *showHtml, *closeMail, *nextMail, *downloadMail, *viewSource;
	QListView *attachments;
	QToolBar *toolbar;
	QTextBrowser *browser;
	OpenDiag *openDiag;
 	QMenuBar *menubar;
    QPopupMenu *mailmenu;

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


};

#endif