Adjust the DragClient to latest changes.
authorzack <zack@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Jan 2007 13:39:37 +0000 (13:39 +0000)
committerzack <zack@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Jan 2007 13:39:37 +0000 (13:39 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19044 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitQt/Api/qwebpage.cpp
WebKitQt/ChangeLog
WebKitQt/WebCoreSupport/DragClientQt.cpp
WebKitQt/WebCoreSupport/DragClientQt.h

index 6af9f23e6bf89aff78b1b82a6567e7aff93b529b..f084e81b2e232f3062017ea9fb701d56c84f6714 100644 (file)
@@ -30,6 +30,7 @@
 #include "FrameQt.h"
 #include "ChromeClientQt.h"
 #include "ContextMenuClientQt.h"
+#include "DragClientQt.h"
 #include "EditorClientQt.h"
 #include "Settings.h"
 #include "Page.h"
@@ -45,7 +46,8 @@ QWebPagePrivate::QWebPagePrivate(QWebPage *qq)
     chromeClient = new ChromeClientQt(q);
     contextMenuClient = new ContextMenuClientQt();
     editorClient = new EditorClientQt();
-    page = new Page(chromeClient, contextMenuClient, editorClient);
+    page = new Page(chromeClient, contextMenuClient, editorClient,
+                    new DragClientQt());
 
     Settings *settings = page->settings();
     settings->setLoadsImagesAutomatically(true);
index 622af63501b5770099cfd1b613f9d31a0f414cf2..61777bd0936827af9fe633cd005d1177f2c7b153 100644 (file)
@@ -1,3 +1,13 @@
+2007-01-23  Zack Rusin  <zack@kde.org>
+
+        Adjust the DragClientQt to latest changes.
+
+        * Api/qwebpage.cpp:
+        (QWebPagePrivate::QWebPagePrivate):
+        * WebCoreSupport/DragClientQt.cpp:
+        (WebCore::DragClientQt::dragControllerDestroyed):
+        * WebCoreSupport/DragClientQt.h:
+
 2007-01-23  Zack Rusin  <zack@kde.org>
 
         Fix the Qt build
index 47023d8997c955cd4f42f8d50b6335ccd7f21ad9..ea5d4aecd240b7af08d63134e23b981c9b52b380 100644 (file)
@@ -38,5 +38,10 @@ void DragClientQt::willPerformDragDestinationAction(DragDestinationAction,
 {
 }
 
+void DragClientQt::dragControllerDestroyed()
+{    
 }
 
+}
+
+
index 5325e7b05f9fd295e54a0ac6a9378076a4e85952..619ef3f110fd68e17c17ebd2b5b3049a5c7539cd 100644 (file)
@@ -32,7 +32,7 @@ public:
     virtual void willPerformDragDestinationAction(DragDestinationAction,
                                                   DragData*);
     virtual WebCore::DragDestinationAction actionMaskForDrag(DragData*);
-    
+    virtual void dragControllerDestroyed();
 private:
 };