OSDN Git Service

3346227bb8900da58e68889efc28c5742fd2407e
[kita/kita.git] / kita / src / kitaui / htmlview.h
1 /***************************************************************************
2 *   Copyright (C) 2003 by Hideki Ikemoto                                  *
3 *   ikemo@users.sourceforge.jp                                            *
4 *                                                                         *
5 *   This program is free software; you can redistribute it and/or modify  *
6 *   it under the terms of the GNU General Public License as published by  *
7 *   the Free Software Foundation; either version 2 of the License, or     *
8 *   (at your option) any later version.                                   *
9 ***************************************************************************/
10
11 #ifndef KITAHTMLVIEW_H
12 #define KITAHTMLVIEW_H
13
14 #include <khtmlview.h>
15
16 namespace Kita {
17     /**
18     @author Hideki Ikemoto
19     */
20     class KDE_EXPORT HTMLView : public KHTMLView
21     {
22         Q_OBJECT
23     public:
24         HTMLView(KHTMLPart* part, QWidget *parent);
25         ~HTMLView();
26     protected:
27         void leaveEvent(QEvent*);
28         void keyPressEvent(QKeyEvent* e);
29         void wheelEvent(QWheelEvent * e);
30
31     private:
32         bool emitPushDown();
33
34     signals:
35         void leave();
36         void pushDown();
37     };
38 }
39
40 #endif