2006-03-06 Eric Seidel <eseidel@apple.com>
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Mar 2006 23:04:54 +0000 (23:04 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Mar 2006 23:04:54 +0000 (23:04 +0000)
        Reviewed by beth.

        Reorganize link stubs (alphabetically).
        Stub out Path methods to make cnn.com work.

        * platform/win/TemporaryLinkStubs.cpp:
        (FrameView::viewportToGlobal):
        (FrameView::updateBorder):
        (FrameView::isFrameView):
        (FrameView::topLevelWidget):
        (QScrollBar::~QScrollBar):
        (QScrollBar::setSteps):
        (QScrollBar::scroll):
        (QScrollBar::QScrollBar):
        (QScrollBar::setValue):
        (QScrollBar::setKnobProportion):
        (QListBox::QListBox):
        (QListBox::setSelected):
        (QListBox::sizeForNumberOfLines):
        (QListBox::isSelected):
        (QListBox::appendItem):
        (QListBox::doneAppendingItems):
        (ScrollView::scrollXOffset):
        (QComboBox::focusPolicy):
        (QTextEdit::QTextEdit):
        (QTextEdit::~QTextEdit):
        (QTextEdit::textWithHardLineBreaks):
        (QTextEdit::sizeWithColumnsAndRows):
        (QTextEdit::setColors):
        (QTextEdit::setFont):
        (QTextEdit::setWritingDirection):
        (QTextEdit::checksDescendantsForFocus):
        (QTextEdit::selectionStart):
        (QTextEdit::hasSelectedText):
        (QTextEdit::setReadOnly):
        (QTextEdit::setDisabled):
        (QTextEdit::setLineHeight):
        (QTextEdit::setSelectionStart):
        (QTextEdit::text):
        (QTextEdit::setWordWrap):
        (QTextEdit::setAlignment):
        (QTextEdit::getCursorPosition):
        (QTextEdit::setSelectionRange):
        (Widget::enableFlushDrawing):
        (Widget::isEnabled):
        (Widget::focusPolicy):
        (Widget::disableFlushDrawing):
        (Widget::setIsSelected):
        (Widget::unlockDrawingFocus):
        (KJavaAppletWidget::KJavaAppletWidget):
        (ScrollView::scrollPointRecursively):
        (ScrollView::scrollBy):
        (QLineEdit::selectAll):
        (QLineEdit::addSearchResult):
        (QLineEdit::selectionStart):
        (QLineEdit::hasSelectedText):
        (QLineEdit::selectedText):
        (QLineEdit::setAutoSaveName):
        (QLineEdit::checksDescendantsForFocus):
        (QLineEdit::setMaxResults):
        (GraphicsContext::GraphicsContext):
        (GraphicsContext::addFocusRingRect):
        (GraphicsContext::drawLineForMisspelling):
        (GraphicsContext::drawFocusRing):
        (GraphicsContext::selectedTextBackgroundColor):
        (GraphicsContext::drawHighlightForText):
        (GraphicsContext::misspellingLineThickness):
        (GraphicsContext::addRoundedRectClip):
        (QSlider::QSlider):
        (QSlider::sizeHint):
        (QSlider::setValue):
        (QSlider::setMaxValue):
        (QSlider::~QSlider):
        (QSlider::setFont):
        (QListBox::setFont):
        (QListBox::~QListBox):
        (QListBox::setSelectionMode):
        (QListBox::setEnabled):
        (QListBox::clear):
        (QListBox::checksDescendantsForFocus):
        (KWQFileButton::KWQFileButton):
        (KWQFileButton::click):
        (KWQFileButton::sizeForCharacterWidth):
        (KWQFileButton::frameGeometry):
        (KWQFileButton::setFilename):
        (KWQFileButton::baselinePosition):
        (KWQFileButton::setFrameGeometry):
        (QSlider::focusPolicy):
        (QListBox::focusPolicy):
        (Cursor::Cursor):
        (MouseEvent::MouseEvent):
        (KWQKCookieJar::cookieEnabled):
        (WebCore::screenDepth):
        (WebCore::usableScreenRect):
        (FrameWin::createPlugin):
        (ScrollView::resizeContents):
        (ScrollView::visibleHeight):
        (ScrollView::visibleWidth):
        (ScrollView::setContentsPos):
        (ScrollView::contentsHeight):
        (ScrollView::contentsWidth):
        (ScrollView::inWindow):
        (Path::~Path):
        (Path::Path):
        (Path::contains):
        (Path::translate):
        (Path::boundingRect):
        (Path::operator=):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13174 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/win/TemporaryLinkStubs.cpp

index 70fa4f6114adb004f8401360dc1fb35795059a02..3bdeb19e32b43a0c463e1fe3a9327a2531cf595b 100644 (file)
@@ -1,3 +1,114 @@
+2006-03-06  Eric Seidel  <eseidel@apple.com>
+
+        Reviewed by beth.
+
+        Reorganize link stubs (alphabetically).
+        Stub out Path methods to make cnn.com work.
+
+        * platform/win/TemporaryLinkStubs.cpp:
+        (FrameView::viewportToGlobal):
+        (FrameView::updateBorder):
+        (FrameView::isFrameView):
+        (FrameView::topLevelWidget):
+        (QScrollBar::~QScrollBar):
+        (QScrollBar::setSteps):
+        (QScrollBar::scroll):
+        (QScrollBar::QScrollBar):
+        (QScrollBar::setValue):
+        (QScrollBar::setKnobProportion):
+        (QListBox::QListBox):
+        (QListBox::setSelected):
+        (QListBox::sizeForNumberOfLines):
+        (QListBox::isSelected):
+        (QListBox::appendItem):
+        (QListBox::doneAppendingItems):
+        (ScrollView::scrollXOffset):
+        (QComboBox::focusPolicy):
+        (QTextEdit::QTextEdit):
+        (QTextEdit::~QTextEdit):
+        (QTextEdit::textWithHardLineBreaks):
+        (QTextEdit::sizeWithColumnsAndRows):
+        (QTextEdit::setColors):
+        (QTextEdit::setFont):
+        (QTextEdit::setWritingDirection):
+        (QTextEdit::checksDescendantsForFocus):
+        (QTextEdit::selectionStart):
+        (QTextEdit::hasSelectedText):
+        (QTextEdit::setReadOnly):
+        (QTextEdit::setDisabled):
+        (QTextEdit::setLineHeight):
+        (QTextEdit::setSelectionStart):
+        (QTextEdit::text):
+        (QTextEdit::setWordWrap):
+        (QTextEdit::setAlignment):
+        (QTextEdit::getCursorPosition):
+        (QTextEdit::setSelectionRange):
+        (Widget::enableFlushDrawing):
+        (Widget::isEnabled):
+        (Widget::focusPolicy):
+        (Widget::disableFlushDrawing):
+        (Widget::setIsSelected):
+        (Widget::unlockDrawingFocus):
+        (KJavaAppletWidget::KJavaAppletWidget):
+        (ScrollView::scrollPointRecursively):
+        (ScrollView::scrollBy):
+        (QLineEdit::selectAll):
+        (QLineEdit::addSearchResult):
+        (QLineEdit::selectionStart):
+        (QLineEdit::hasSelectedText):
+        (QLineEdit::selectedText):
+        (QLineEdit::setAutoSaveName):
+        (QLineEdit::checksDescendantsForFocus):
+        (QLineEdit::setMaxResults):
+        (GraphicsContext::GraphicsContext):
+        (GraphicsContext::addFocusRingRect):
+        (GraphicsContext::drawLineForMisspelling):
+        (GraphicsContext::drawFocusRing):
+        (GraphicsContext::selectedTextBackgroundColor):
+        (GraphicsContext::drawHighlightForText):
+        (GraphicsContext::misspellingLineThickness):
+        (GraphicsContext::addRoundedRectClip):
+        (QSlider::QSlider):
+        (QSlider::sizeHint):
+        (QSlider::setValue):
+        (QSlider::setMaxValue):
+        (QSlider::~QSlider):
+        (QSlider::setFont):
+        (QListBox::setFont):
+        (QListBox::~QListBox):
+        (QListBox::setSelectionMode):
+        (QListBox::setEnabled):
+        (QListBox::clear):
+        (QListBox::checksDescendantsForFocus):
+        (KWQFileButton::KWQFileButton):
+        (KWQFileButton::click):
+        (KWQFileButton::sizeForCharacterWidth):
+        (KWQFileButton::frameGeometry):
+        (KWQFileButton::setFilename):
+        (KWQFileButton::baselinePosition):
+        (KWQFileButton::setFrameGeometry):
+        (QSlider::focusPolicy):
+        (QListBox::focusPolicy):
+        (Cursor::Cursor):
+        (MouseEvent::MouseEvent):
+        (KWQKCookieJar::cookieEnabled):
+        (WebCore::screenDepth):
+        (WebCore::usableScreenRect):
+        (FrameWin::createPlugin):
+        (ScrollView::resizeContents):
+        (ScrollView::visibleHeight):
+        (ScrollView::visibleWidth):
+        (ScrollView::setContentsPos):
+        (ScrollView::contentsHeight):
+        (ScrollView::contentsWidth):
+        (ScrollView::inWindow):
+        (Path::~Path):
+        (Path::Path):
+        (Path::contains):
+        (Path::translate):
+        (Path::boundingRect):
+        (Path::operator=):
+
 2006-03-03  Justin Garcia  <justin.garcia@apple.com>
 
         Reviewed by darin
index 40c650378a4adc95023a967115702cc859d4bdeb..f480bea4ff8c5f4e842e1f6a9b6bd07c1961c194 100644 (file)
@@ -20,7 +20,6 @@
 #include "KWQScrollBar.h"
 #include "KWQObject.h"
 #include "KWQSignal.h"
-#include "dom2_events.h"
 #include "KWQKJavaAppletWidget.h"
 #include "KWQScrollBar.h"
 #include "Path.h"
@@ -41,132 +40,151 @@ using namespace WebCore;
 
 static void notImplemented() { puts("Not yet implemented"); _CrtDbgBreak(); }
 
-void QLineEdit::selectAll() { notImplemented(); }
-void Widget::enableFlushDrawing() { notImplemented(); }
-void GraphicsContext::drawHighlightForText(int,int,int,int,int,QChar const*,int,int,int,int,Color const&,TextDirection,bool,int,int,bool) { notImplemented(); }
+IntPoint FrameView::viewportToGlobal(IntPoint const&) const { notImplemented(); return IntPoint(); }
+void FrameView::updateBorder() { notImplemented(); }
+bool FrameView::isFrameView() const { notImplemented(); return 0; }
+Widget* FrameView::topLevelWidget() const { notImplemented(); return 0; }
+
+QScrollBar::~QScrollBar() { notImplemented(); }
+void QScrollBar::setSteps(int,int) { notImplemented(); }
+bool QScrollBar::scroll(KWQScrollDirection,KWQScrollGranularity,float) { notImplemented(); return 0; }
+QScrollBar::QScrollBar(Qt::Orientation,Widget*) { notImplemented(); }
+bool QScrollBar::setValue(int) { notImplemented(); return 0; }
+void QScrollBar::setKnobProportion(int,int) { notImplemented(); }
+
+QListBox::QListBox() { notImplemented(); }
+void QListBox::setSelected(int,bool) { notImplemented(); }
+IntSize QListBox::sizeForNumberOfLines(int) const { notImplemented(); return IntSize(); }
+bool QListBox::isSelected(int) const { notImplemented(); return 0; }
+void QListBox::appendItem(QString const&,KWQListBoxItemType,bool) { notImplemented(); }
+void QListBox::doneAppendingItems() { notImplemented(); }
+
+int ScrollView::scrollXOffset() const { notImplemented(); return 0; }
+Widget::FocusPolicy QComboBox::focusPolicy() const { notImplemented(); return NoFocus; }
+
+QTextEdit::QTextEdit(Widget*) { notImplemented(); }
+QTextEdit::~QTextEdit() { notImplemented(); }
 String QTextEdit::textWithHardLineBreaks() const { notImplemented(); return String(); }
-Color GraphicsContext::selectedTextBackgroundColor() const { notImplemented(); return Color(); }
-void QSlider::setValue(double) { notImplemented(); }
-void QLineEdit::addSearchResult() { notImplemented(); }
-void KWQFileButton::click(bool) { notImplemented(); }
-void GraphicsContext::drawFocusRing(Color const&) { notImplemented(); }
-IntSize KWQFileButton::sizeForCharacterWidth(int) const { notImplemented(); return IntSize(); }
 IntSize QTextEdit::sizeWithColumnsAndRows(int,int) const { notImplemented(); return IntSize(); }
-int GraphicsContext::misspellingLineThickness() const { notImplemented(); return 0; }
-bool Widget::isEnabled() const { notImplemented(); return 0; }
 void QTextEdit::setText(String const&) { notImplemented(); }
-void GraphicsContext::addRoundedRectClip(IntRect const&,IntSize const&,IntSize const&,IntSize const&,IntSize const&) { notImplemented(); }
-IntPoint FrameView::viewportToGlobal(IntPoint const&) const { notImplemented(); return IntPoint(); }
+void QTextEdit::setColors(Color const&,Color const&) { notImplemented(); }
+void QTextEdit::setFont(WebCore::Font const&) { notImplemented(); }
+void QTextEdit::setWritingDirection(enum WebCore::TextDirection) { notImplemented(); }
+bool QTextEdit::checksDescendantsForFocus() const { notImplemented(); return false; }
+int QTextEdit::selectionStart() { notImplemented(); return 0; }
+bool QTextEdit::hasSelectedText() const { notImplemented(); return 0; }
 int QTextEdit::selectionEnd() { notImplemented(); return 0; }
 void QTextEdit::setScrollBarModes(ScrollBarMode,ScrollBarMode) { notImplemented(); }
 void QTextEdit::setReadOnly(bool) { notImplemented(); }
-void QListBox::appendItem(QString const&,KWQListBoxItemType,bool) { notImplemented(); }
-Widget::FocusPolicy Widget::focusPolicy() const { notImplemented(); return NoFocus; }
 void QTextEdit::selectAll() { notImplemented(); }
 void QTextEdit::setDisabled(bool) { notImplemented(); }
-bool QScrollBar::scroll(KWQScrollDirection,KWQScrollGranularity,float) { notImplemented(); return 0; }
-IntSize QListBox::sizeForNumberOfLines(int) const { notImplemented(); return IntSize(); }
-int QLineEdit::selectionStart() const { notImplemented(); return 0; }
-void FrameView::updateBorder() { notImplemented(); }
-bool QLineEdit::hasSelectedText() const { notImplemented(); return 0; }
-QScrollBar::QScrollBar(Qt::Orientation,Widget*) { notImplemented(); }
-void QListBox::doneAppendingItems() { notImplemented(); }
-QTextEdit::QTextEdit(Widget*) { notImplemented(); }
-bool QScrollBar::setValue(int) { notImplemented(); return 0; }
-bool QTextEdit::hasSelectedText() const { notImplemented(); return 0; }
-int QTextEdit::selectionStart() { notImplemented(); return 0; }
-int ScrollView::scrollXOffset() const { notImplemented(); return 0; }
-bool QListBox::isSelected(int) const { notImplemented(); return 0; }
-Cursor::Cursor(Image*) { notImplemented(); }
-Widget::FocusPolicy QComboBox::focusPolicy() const { notImplemented(); return NoFocus; }
 void QTextEdit::setLineHeight(int) { notImplemented(); }
-void QScrollBar::setKnobProportion(int,int) { notImplemented(); }
-KWQFileButton::KWQFileButton(Frame*) { notImplemented(); }
 void QTextEdit::setSelectionStart(int) { notImplemented(); }
-void QListBox::setSelected(int,bool) { notImplemented(); }
-void GraphicsContext::addFocusRingRect(int,int,int,int) { notImplemented(); }
 void QTextEdit::setCursorPosition(int,int) { notImplemented(); }
+String QTextEdit::text() const { notImplemented(); return String(); }
+void QTextEdit::setWordWrap(QTextEdit::WrapStyle) { notImplemented(); }
+void QTextEdit::setAlignment(Qt::AlignmentFlags) { notImplemented(); }
 void QTextEdit::setSelectionEnd(int) { notImplemented(); }
+void QTextEdit::getCursorPosition(int*,int*) const { notImplemented(); }
+void QTextEdit::setSelectionRange(int,int) { notImplemented(); }
+
 void QComboBox::populate() { notImplemented(); }
+
+void Widget::enableFlushDrawing() { notImplemented(); }
+bool Widget::isEnabled() const { notImplemented(); return 0; }
+Widget::FocusPolicy Widget::focusPolicy() const { notImplemented(); return NoFocus; }
+void Widget::disableFlushDrawing() { notImplemented(); }
 void Widget::setIsSelected(bool) { notImplemented(); }
-void QTextEdit::setAlignment(Qt::AlignmentFlags) { notImplemented(); }
-KJavaAppletWidget::KJavaAppletWidget(IntSize const&,Frame*,KXMLCore::HashMap<String,String> const&) { notImplemented(); }
-QListBox::QListBox() { notImplemented(); }
-QString QLineEdit::selectedText() const { notImplemented(); return QString(); }
-void Widget::unlockDrawingFocus() { notImplemented(); }
-void QSlider::setMaxValue(double) { notImplemented(); }
 void Widget::lockDrawingFocus() { notImplemented(); }
-void QTextEdit::setSelectionRange(int,int) { notImplemented(); }
-void ScrollView::scrollPointRecursively(int,int) { notImplemented(); }
-void QTextEdit::getCursorPosition(int*,int*) const { notImplemented(); }
-bool FrameView::isFrameView() const { notImplemented(); return 0; }
-void QScrollBar::setSteps(int,int) { notImplemented(); }
-void QLineEdit::setAutoSaveName(String const&) { notImplemented(); }
+void Widget::unlockDrawingFocus() { notImplemented(); }
 void Widget::setDrawingAlpha(float) { notImplemented(); }
-QSlider::QSlider() { notImplemented(); }
+
+KJavaAppletWidget::KJavaAppletWidget(IntSize const&,Frame*,KXMLCore::HashMap<String,String> const&) { notImplemented(); }
+
 int ScrollView::scrollYOffset() const { notImplemented(); return 0; }
+void ScrollView::scrollPointRecursively(int,int) { notImplemented(); }
+void ScrollView::scrollBy(int,int) { notImplemented(); }
+
+void QLineEdit::selectAll() { notImplemented(); }
+void QLineEdit::addSearchResult() { notImplemented(); }
+int QLineEdit::selectionStart() const { notImplemented(); return 0; }
+bool QLineEdit::hasSelectedText() const { notImplemented(); return 0; }
+QString QLineEdit::selectedText() const { notImplemented(); return QString(); }
+void QLineEdit::setAutoSaveName(String const&) { notImplemented(); }
+bool QLineEdit::checksDescendantsForFocus() const { notImplemented(); return false; }
 void QLineEdit::setSelection(int,int) { notImplemented(); }
 void QLineEdit::setMaxResults(int) { notImplemented(); }
-void QListBox::clear() { notImplemented(); }
 bool QLineEdit::edited() const { notImplemented(); return 0; }
+
+GraphicsContext::GraphicsContext() { notImplemented(); }
+void GraphicsContext::addFocusRingRect(int,int,int,int) { notImplemented(); }
 void GraphicsContext::clearFocusRing() { notImplemented(); }
-String QTextEdit::text() const { notImplemented(); return String(); }
-void Widget::disableFlushDrawing() { notImplemented(); }
+void GraphicsContext::drawLineForMisspelling(int,int,int) { notImplemented(); }
+void GraphicsContext::drawFocusRing(Color const&) { notImplemented(); }
+Color GraphicsContext::selectedTextBackgroundColor() const { notImplemented(); return Color(); }
+void GraphicsContext::drawHighlightForText(int,int,int,int,int,QChar const*,int,int,int,int,Color const&,TextDirection,bool,int,int,bool) { notImplemented(); }
+int GraphicsContext::misspellingLineThickness() const { notImplemented(); return 0; }
+void GraphicsContext::addRoundedRectClip(IntRect const&,IntSize const&,IntSize const&,IntSize const&,IntSize const&) { notImplemented(); }
 void GraphicsContext::initFocusRing(int,int) { notImplemented(); }
+
+QSlider::QSlider() { notImplemented(); }
+IntSize QSlider::sizeHint() const { notImplemented(); return IntSize(); }
+void QSlider::setValue(double) { notImplemented(); }
+void QSlider::setMaxValue(double) { notImplemented(); }
 void QSlider::setMinValue(double) { notImplemented(); }
-void QTextEdit::setWordWrap(QTextEdit::WrapStyle) { notImplemented(); }
-void GraphicsContext::drawLineForMisspelling(int,int,int) { notImplemented(); }
+QSlider::~QSlider() { notImplemented(); }
+void QSlider::setFont(WebCore::Font const&) { notImplemented(); }
 double QSlider::value() const { notImplemented(); return 0; }
+
+void QListBox::setFont(WebCore::Font const&) { notImplemented(); }
+QListBox::~QListBox() { notImplemented(); }
 void QListBox::setSelectionMode(QListBox::SelectionMode) { notImplemented(); }
-void KWQFileButton::setFilename(QString const&) { notImplemented(); }
 void QListBox::setWritingDirection(TextDirection) { notImplemented(); }
+void QListBox::setEnabled(bool) { notImplemented(); }
+void QListBox::clear() { notImplemented(); }
+bool QListBox::checksDescendantsForFocus() const { notImplemented(); return 0; }
+
+KWQFileButton::KWQFileButton(Frame*) { notImplemented(); }
+void KWQFileButton::click(bool) { notImplemented(); }
+IntSize KWQFileButton::sizeForCharacterWidth(int) const { notImplemented(); return IntSize(); }
 Widget::FocusPolicy KWQFileButton::focusPolicy() const { notImplemented(); return NoFocus; }
-bool QLineEdit::checksDescendantsForFocus() const { notImplemented(); return false; }
+WebCore::IntRect KWQFileButton::frameGeometry() const { notImplemented(); return IntRect(); }
+void KWQFileButton::setFilename(QString const&) { notImplemented(); }
 int KWQFileButton::baselinePosition(int) const { notImplemented(); return 0; }
-QSlider::~QSlider() { notImplemented(); }
 void KWQFileButton::setFrameGeometry(WebCore::IntRect const&) { notImplemented(); }
-QListBox::~QListBox() { notImplemented(); }
-WebCore::IntRect KWQFileButton::frameGeometry() const { notImplemented(); return IntRect(); }
 KWQFileButton::~KWQFileButton() { notImplemented(); }
+
 Widget::FocusPolicy QTextEdit::focusPolicy() const { notImplemented(); return NoFocus; }
 Widget::FocusPolicy QSlider::focusPolicy() const { notImplemented(); return NoFocus; }
-void QListBox::setEnabled(bool) { notImplemented(); }
-bool QListBox::checksDescendantsForFocus() const { notImplemented(); return 0; }
 Widget::FocusPolicy QListBox::focusPolicy() const { notImplemented(); return NoFocus; }
-WebCore::IntSize QSlider::sizeHint() const { notImplemented(); return IntSize(); }
-QTextEdit::~QTextEdit() { notImplemented(); }
-bool QTextEdit::checksDescendantsForFocus() const { notImplemented(); return false; }
 Widget::FocusPolicy QLineEdit::focusPolicy() const { notImplemented(); return NoFocus; }
-QScrollBar::~QScrollBar() { notImplemented(); }
-Path::Path(const IntRect&, Type){ notImplemented(); }
-Path::Path(const IntPointArray&){ notImplemented(); }
-Path::~Path(){ notImplemented(); }
-Path::Path(const Path&){ notImplemented(); }
-Path& Path::operator=(const Path&){ notImplemented(); return*this; }
-bool Path::contains(const IntPoint&) const{ notImplemented(); return false; }
-void Path::translate(int, int){ notImplemented(); }
-IntRect Path::boundingRect() const { notImplemented(); return IntRect(); }
+
 static Cursor localCursor;
+Cursor::Cursor(Image*) { notImplemented(); }
 const Cursor& WebCore::moveCursor() { notImplemented(); return localCursor; }
+
 MouseEvent::MouseEvent() { notImplemented(); }
-void QTextEdit::setColors(Color const&,Color const&) { notImplemented(); }
 QString searchableIndexIntroduction() { notImplemented(); return QString(); }
+
 void KWQKCookieJar::setCookie(KURL const&,KURL const&,QString const&) { notImplemented(); }
 QString KWQKCookieJar::cookie(KURL const&) { notImplemented(); return QString(); }
+bool KWQKCookieJar::cookieEnabled() { notImplemented(); return false; }
+
 IntRect WebCore::screenRect(Widget*) { notImplemented(); return IntRect(); }
-void ScrollView::scrollBy(int,int) { notImplemented(); }
+int WebCore::screenDepth(Widget*) { notImplemented(); return 96; }
+IntRect WebCore::usableScreenRect(Widget*) { notImplemented(); return IntRect(0,0,800,600); }
+
 int KWQFindNextSentenceFromIndex(QChar const*,int,int,bool) { notImplemented(); return 0; }
 void KWQFindSentenceBoundary(QChar const*,int,int,int*,int*) { notImplemented(); }
 int KWQFindNextWordFromIndex(QChar const*,int,int,bool) { notImplemented(); return 0; }
 void KWQFindWordBoundary(QChar const*,int,int,int*,int*) { notImplemented(); }
-bool KWQKCookieJar::cookieEnabled() { notImplemented(); return false; }
+
 PluginInfo*PlugInInfoStore::createPluginInfoForPluginAtIndex(unsigned) { notImplemented(); return 0;}
 unsigned PlugInInfoStore::pluginCount() const { notImplemented(); return 0; }
 void WebCore::refreshPlugins(bool) { notImplemented(); }
-int WebCore::screenDepth(Widget*) { notImplemented(); return 96; }
-IntRect WebCore::usableScreenRect(Widget*) { notImplemented(); return IntRect(0,0,800,600); }
+
 Array<char> KWQServeSynchronousRequest(Loader*,DocLoader*,TransferJob*,KURL&,QString&) { notImplemented(); return 0; }
-Widget* WebCore::FrameView::topLevelWidget() const { notImplemented(); return 0; }
+
 void FrameWin::respondToChangedContents() { notImplemented(); }
 void FrameWin::unfocusWindow() { notImplemented(); }
 bool FrameWin::locationbarVisible() { notImplemented(); return 0; }
@@ -208,7 +226,8 @@ QString FrameWin::incomingReferrer() const { notImplemented(); return QString();
 enum WebCore::ObjectContentType FrameWin::objectContentType(KURL const&,QString const&) { notImplemented(); return (ObjectContentType)0; }
 bool FrameWin::canGoBackOrForward(int) const { notImplemented(); return 0; }
 void FrameWin::issuePasteAndMatchStyleCommand() { notImplemented(); }
-WebCore::Plugin* FrameWin::createPlugin(KURL const&,QStringList const&,QStringList const&,QString const&) { notImplemented(); return 0; }
+Plugin* FrameWin::createPlugin(KURL const&,QStringList const&,QStringList const&,QString const&) { notImplemented(); return 0; }
+
 void BrowserExtensionWin::openURLRequest(KURL const&,struct WebCore::URLArgs const&) { notImplemented(); }
 int BrowserExtensionWin::getHistoryLength() { notImplemented(); return 0; }
 bool BrowserExtensionWin::canRunModal() { notImplemented(); return 0; }
@@ -219,17 +238,15 @@ void BrowserExtensionWin::runModal() { notImplemented(); }
 void BrowserExtensionWin::goBackOrForward(int) { notImplemented(); }
 void BrowserExtensionWin::setIconURL(KURL const&) { notImplemented(); }
 void BrowserExtensionWin::createNewWindow(KURL const&,struct WebCore::URLArgs const&) { notImplemented(); }
-void QSlider::setFont(WebCore::Font const&) { notImplemented(); }
-static WebCore::Font localFont;
-void QListBox::setFont(WebCore::Font const&) { notImplemented(); }
-void QTextEdit::setFont(WebCore::Font const&) { notImplemented(); }
-void QTextEdit::setWritingDirection(enum WebCore::TextDirection) { notImplemented(); }
-GraphicsContext::GraphicsContext() { notImplemented(); }
+
 void WebCore::TransferJob::retrieveCharset() const { notImplemented(); }
 void WebCore::TransferJob::assembleResponseHeaders() const { notImplemented(); }
+
 IntRect Font::selectionRectForText(int, int, int, int, int, const QChar*, int, int, int, int, bool, bool, int, int) const { notImplemented(); return IntRect(); }
 void Font::drawHighlightForText(WebCore::GraphicsContext*, int, int, int, int, int, const QChar*, int, int, int, int, WebCore::TextDirection, bool, int, int, WebCore::Color) const { notImplemented(); }
 
+
+
 // Completely empty stubs (mostly to allow DRT to run):
 bool WebCore::historyContains(QString const&) { return false; }
 QString submitButtonDefaultLabel() { return "Submit"; }
@@ -264,25 +281,25 @@ void KWQCheckCacheObjectStatus(DocLoader*, CachedObject*) { }
 void Widget::setEnabled(bool) { }
 void Widget::paint(GraphicsContext*,IntRect const&) { }
 
-void ScrollView::resizeContents(int w,int h) { }
+void ScrollView::resizeContents(int w,int h) { resize(w, h); }
 WebCore::ScrollBarMode ScrollView::hScrollBarMode() const { return ScrollBarAlwaysOff; }
 WebCore::ScrollBarMode ScrollView::vScrollBarMode() const { return ScrollBarAlwaysOff; }
 void ScrollView::suppressScrollBars(bool,bool) { }
 void ScrollView::setHScrollBarMode(ScrollBarMode) { }
 void ScrollView::setVScrollBarMode(ScrollBarMode) { }
 void ScrollView::setScrollBarsMode(ScrollBarMode) { }
-int ScrollView::visibleHeight() const { return 800; }
-int ScrollView::visibleWidth() const { return 1000; }
-void ScrollView::setContentsPos(int x,int y) { }
+int ScrollView::visibleHeight() const { return height(); }
+int ScrollView::visibleWidth() const { return width(); }
+void ScrollView::setContentsPos(int x,int y) { move(x, y); }
 int ScrollView::contentsX() const { return x(); }
 int ScrollView::contentsY() const { return y(); }
-int ScrollView::contentsHeight() const { return 800; }
-int ScrollView::contentsWidth() const { return 1000; }
+int ScrollView::contentsHeight() const { return height(); }
+int ScrollView::contentsWidth() const { return width(); }
 void ScrollView::viewportToContents(int x1, int y1, int& x2, int& y2) { x2 = x1; y2 = y1; }
 void ScrollView::setStaticBackground(bool) { }
 void ScrollView::addChild(Widget*,int,int) { }
 void ScrollView::removeChild(Widget*) { }
-bool ScrollView::inWindow() const { return 0; }
+bool ScrollView::inWindow() const { return true; }
 
 float Font::floatWidth(QChar const*, int, int, int len, int, int) const { return len * 10; }
 int Font::descent() const { return 10; }
@@ -296,6 +313,7 @@ int Font::checkSelectionPoint(const QChar*, int, int, int, int, int, int, int, W
 FontRenderer::FontRenderer() { }
 void FontRenderer::update(FontDescription const &) { }
 
+static WebCore::Font localFont;
 Font const& GraphicsContext::font() const { return localFont; }
 void GraphicsContext::setFont(Font const&) { }
 void GraphicsContext::drawText(int,int,int,int,int,int,int,QString const&) { }
@@ -307,6 +325,15 @@ void GraphicsContext::beginTransparencyLayer(float) { }
 void GraphicsContext::endTransparencyLayer() { }
 
 Path::Path(){ }
+Path::~Path(){ }
+Path::Path(const Path&){ }
+Path::Path(const IntRect&, Type){ }
+Path::Path(const IntPointArray&){ }
+bool Path::contains(const IntPoint&) const{ return false; }
+void Path::translate(int, int){ }
+IntRect Path::boundingRect() const { return IntRect(); }
+
+Path& Path::operator=(const Path&){ return*this; }
 
 bool RenderThemeWin::paintCheckbox(RenderObject*, const RenderObject::PaintInfo&, const IntRect&) { return false; }
 bool RenderThemeWin::paintRadio(RenderObject*, const RenderObject::PaintInfo&, const IntRect&) { return false; }