Commit d0613bd7 authored by lars's avatar lars

Fix the Qt build once again.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e1a0aa99
2007-03-16 Lars Knoll <lars@trolltech.com>
Fix the Qt build once again.
* platform/qt/PasteboardQt.cpp:
(WebCore::Pasteboard::Pasteboard):
(WebCore::Pasteboard::writeSelection):
(WebCore::Pasteboard::plainText):
(WebCore::Pasteboard::documentFragment):
(WebCore::Pasteboard::writeURL):
(WebCore::Pasteboard::writeImage):
(WebCore::Pasteboard::clear):
2007-03-15 Shrikant Gangoda <shrikant.gangoda@celunite.com>
Gdk build fix.
......
......@@ -23,17 +23,21 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#import "config.h"
#import "Pasteboard.h"
#include "config.h"
#include "Pasteboard.h"
#import "DocumentFragment.h"
#import "Editor.h"
#import "markup.h"
#include "DocumentFragment.h"
#include "Editor.h"
#include "markup.h"
#include <qdebug.h>
#define notImplemented() qDebug("FIXME: UNIMPLEMENTED: %s:%d (%s)", __FILE__, __LINE__, __FUNCTION__)
namespace WebCore {
Pasteboard::Pasteboard()
{
notImplemented();
}
Pasteboard* Pasteboard::generalPasteboard()
......@@ -44,6 +48,7 @@ Pasteboard* Pasteboard::generalPasteboard()
void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame)
{
notImplemented();
}
bool Pasteboard::canSmartReplace()
......@@ -53,25 +58,30 @@ bool Pasteboard::canSmartReplace()
String Pasteboard::plainText(Frame* frame)
{
notImplemented();
return String();
}
PassRefPtr<DocumentFragment> Pasteboard::documentFragment(Frame* frame, PassRefPtr<Range> context,
bool allowPlainText, bool& chosePlainText)
{
notImplemented();
return 0;
}
void Pasteboard::writeURL(const KURL&, const String&, Frame*, bool isImage)
void Pasteboard::writeURL(const KURL&, const String&, Frame*)
{
notImplemented();
}
void Pasteboard::writeImage(const HitTestResult&)
{
notImplemented();
}
void Pasteboard::clear()
{
notImplemented();
}
}
2007-03-16 Lars Knoll <lars@trolltech.com>
Fix the Qt build once again.
* WebCoreSupport/EditorClientQt.cpp:
(WebCore::EditorClientQt::handleKeypress):
* WebCoreSupport/FrameLoaderClientQt.cpp:
(WebCore::FrameLoaderClientQt::blockedError):
* WebCoreSupport/FrameLoaderClientQt.h:
2007-03-13 Lars Knoll <lars@trolltech.com>
Reviewed by George.
......
......@@ -258,7 +258,7 @@ void EditorClientQt::handleKeypress(KeyboardEvent* event)
break;
default:
if (!kevent->ctrlKey() && !kevent->altKey())
frame->editor()->insertText(kevent->text(), false, event);
frame->editor()->insertText(kevent->text(), event);
}
event->setDefaultHandled();
}
......
......@@ -664,6 +664,13 @@ WebCore::ResourceError FrameLoaderClientQt::cancelledError(const WebCore::Resour
return ResourceError();
}
WebCore::ResourceError FrameLoaderClientQt::blockedError(const WebCore::ResourceRequest&)
{
notImplemented();
return ResourceError();
}
WebCore::ResourceError FrameLoaderClientQt::cannotShowURLError(const WebCore::ResourceRequest&)
{
notImplemented();
......
......@@ -176,6 +176,7 @@ namespace WebCore {
virtual void setMainDocumentError(WebCore::DocumentLoader*, const WebCore::ResourceError&);
virtual void committedLoad(WebCore::DocumentLoader*, const char*, int);
virtual WebCore::ResourceError cancelledError(const WebCore::ResourceRequest&);
virtual WebCore::ResourceError blockedError(const WebCore::ResourceRequest&);
virtual WebCore::ResourceError cannotShowURLError(const WebCore::ResourceRequest&);
virtual WebCore::ResourceError interruptForPolicyChangeError(const WebCore::ResourceRequest&);
virtual WebCore::ResourceError cannotShowMIMETypeError(const WebCore::ResourceResponse&);
......
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