* Move the various event methods to QWebPagePrivate. This is similar to
[WebKit-https.git] / WebKit / qt / Api / qwebpage_p.h
index 1294260a6b717d6fd0b20a0ab00b8472cf815673..e5d2574703f7b04f200961faa187a7507eef5fcf 100644 (file)
@@ -78,6 +78,7 @@ private:
     QWebPageContextPrivate *d;
 
     friend class QWebPage;
+    friend class QWebPagePrivate;
 };
 
 class QWebPagePrivate
@@ -96,6 +97,23 @@ public:
     void updateNavigationActions();
     void updateEditorActions();
 
+    void mouseMoveEvent(QMouseEvent*);
+    void mousePressEvent(QMouseEvent*);
+    void mouseDoubleClickEvent(QMouseEvent*);
+    void mouseReleaseEvent(QMouseEvent*);
+    void contextMenuEvent(QContextMenuEvent*);
+    void wheelEvent(QWheelEvent*);
+    void keyPressEvent(QKeyEvent*);
+    void keyReleaseEvent(QKeyEvent*);
+    void focusInEvent(QFocusEvent*);
+    void focusOutEvent(QFocusEvent*);
+
+    void dragEnterEvent(QDragEnterEvent *);
+    void dragLeaveEvent(QDragLeaveEvent *);
+    void dragMoveEvent(QDragMoveEvent *);
+    void dropEvent(QDropEvent *);
+
+
     WebCore::ChromeClientQt *chromeClient;
     WebCore::ContextMenuClientQt *contextMenuClient;
     WebCore::EditorClientQt *editorClient;