Commit 1bd89127 authored by zack's avatar zack

Fix the Qt build


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1e1dad3d
2007-01-23 Zack Rusin <zack@kde.org>
Fix the Qt build
* page/DragActions.h:
* page/DragController.cpp:
* platform/qt/DragDataQt.cpp:
(WebCore::DragData::canSmartReplace):
(WebCore::DragData::containsColor):
(WebCore::DragData::containsPlainText):
(WebCore::DragData::asPlainText):
(WebCore::DragData::asColor):
(WebCore::DragData::createClipboard):
(WebCore::DragData::containsCompatibleContent):
(WebCore::DragData::containsURL):
(WebCore::DragData::asURL):
(WebCore::DragData::asFragment):
* platform/qt/FileChooserQt.cpp:
2007-01-23 Lars Knoll <lars@trolltech.com>
Reviewed by Maciej
......
......@@ -26,6 +26,8 @@
#ifndef DragActions_h
#define DragActions_h
#include <limits.h>
namespace WebCore {
// WebCoreDragDestinationAction should be kept in sync with WebDragDestinationAction
......
......@@ -42,7 +42,7 @@
#include "FrameLoader.h"
#include "FrameView.h"
#include "HTMLAnchorElement.h"
#include "MarkUp.h"
#include "markup.h"
#include "MoveSelectionCommand.h"
#include "Node.h"
#include "Page.h"
......
......@@ -26,55 +26,58 @@
#include "config.h"
#include "DragData.h"
#include "Document.h"
#include "DocumentFragment.h"
namespace WebCore {
bool DragData::canSmartReplace()
bool DragData::canSmartReplace() const
{
return false;
}
bool DragData::containsColor()
bool DragData::containsColor() const
{
return false;
}
bool DragData::containsPlainText()
bool DragData::containsPlainText() const
{
return false;
}
String DragData::asPlainText()
String DragData::asPlainText() const
{
return String();
}
Color DragData::asColor()
Color DragData::asColor() const
{
return Color();
}
Clipboard* DragData::createClipboard(ClipboardAccessPolicy)
Clipboard* DragData::createClipboard(ClipboardAccessPolicy) const
{
return 0;
}
bool DragData::containsCompatibleContent()
bool DragData::containsCompatibleContent() const
{
return false;
}
bool DragData::containsURL()
bool DragData::containsURL() const
{
return false;
}
String DragData::asURL(String* title)
String DragData::asURL(String* title) const
{
return String();
}
PassRefPtr<DocumentFragment> DragData::asFragment(Document*)
PassRefPtr<DocumentFragment> DragData::asFragment(Document*) const
{
return 0;
}
......
......@@ -21,6 +21,8 @@
#include "config.h"
#include "FileChooser.h"
#include "Icon.h"
#define notImplemented() qDebug("FIXME: UNIMPLEMENTED: %s:%d (%s)", __FILE__, __LINE__, __FUNCTION__)
namespace WebCore {
......
2007-01-23 Zack Rusin <zack@kde.org>
Fix the Qt build
* WebCoreSupport/DragClientQt.cpp:
(WebCore::DragClientQt::willPerformDragDestinationAction):
* WebCoreSupport/DragClientQt.h:
2007-01-23 Lars Knoll <lars@trolltech.com>
Reviewed by Maciej
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "WebDragQt.h"
#include "DragClientQt.h"
namespace WebCore
{
......@@ -33,7 +33,8 @@ DragDestinationAction DragClientQt::actionMaskForDrag(DragData*)
return DragDestinationActionAny;
}
void DragClientQt::willPerformDragDestinationAction(DragDestinationAction, DragData*)
void DragClientQt::willPerformDragDestinationAction(DragDestinationAction,
DragData*)
{
}
......
......@@ -23,13 +23,14 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <WebCore/DragClient.h>
#include "DragClient.h"
namespace WebCore {
class WebDragClientQt : public DragClient {
class DragClientQt : public DragClient {
public:
virtual void willPerformDragDestinationAction(DragDestinationAction, DragData*);
virtual void willPerformDragDestinationAction(DragDestinationAction,
DragData*);
virtual WebCore::DragDestinationAction actionMaskForDrag(DragData*);
private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment