summaryrefslogtreecommitdiff
path: root/noncore/net/mail/viewmailbase.h
blob: 59179a4a15b03b10eb52c76118f37b51b341002d (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
#ifndef VIEWMAILBASE_H
#define VIEWMAILBASE_H

#include <qmainwindow.h>

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,*showPicsInline;
    QListView *attachments;
    QToolBar *toolbar;
    QTextBrowser *browser;//,*header;
    OpenDiag *openDiag;
    QMenuBar *menubar;
    QPopupMenu *mailmenu;

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


};

#endif