[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

rjw rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:49:43 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit fb1b60fd61fd180139946781524fc91a438d33ef
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Oct 5 23:12:21 2001 +0000

    More stubs.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@294 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/kwq/KWQCursor.mm b/WebCore/kwq/KWQCursor.mm
index b09a9a9..f3be66f 100644
--- a/WebCore/kwq/KWQCursor.mm
+++ b/WebCore/kwq/KWQCursor.mm
@@ -25,6 +25,10 @@
 
 #include <qcursor.h>
 
+const QCursor & Qt::sizeAllCursor = QCursor();
+const QCursor & Qt::splitHCursor = QCursor();
+const QCursor & Qt::splitVCursor = QCursor();
+
 QCursor::QCursor()
 {
 }
diff --git a/WebCore/kwq/KWQKFactory.mm b/WebCore/kwq/KWQKFactory.mm
new file mode 100644
index 0000000..d5c7b64
--- /dev/null
+++ b/WebCore/kwq/KWQKFactory.mm
@@ -0,0 +1,42 @@
+/*
+* Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1. Redistributions of source code must retain the above copyright
+*    notice, this list of conditions and the following disclaimer.
+* 2. Redistributions in binary form must reproduce the above copyright
+*    notice, this list of conditions and the following disclaimer in the
+*    documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+* PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+*/
+
+#include <factory.h>
+
+namespace KParts {
+
+Factory::Factory()
+{
+}
+
+
+Factory::~Factory()
+{
+}
+
+
+} // namespace KParts
+
+
diff --git a/WebCore/kwq/KWQKFileItem.mm b/WebCore/kwq/KWQKFileItem.mm
new file mode 100644
index 0000000..ac4b03e
--- /dev/null
+++ b/WebCore/kwq/KWQKFileItem.mm
@@ -0,0 +1,45 @@
+/*
+* Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1. Redistributions of source code must retain the above copyright
+*    notice, this list of conditions and the following disclaimer.
+* 2. Redistributions in binary form must reproduce the above copyright
+*    notice, this list of conditions and the following disclaimer in the
+*    documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+* PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+*/
+
+#include <kfileitem.h>
+
+
+KFileItem::KFileItem(const KIO::UDSEntry &, const KURL &, bool foo=false, 
+    bool bar=false)
+{
+}
+
+
+KFileItem::~KFileItem()
+{
+}
+
+
+bool KFileItem::isDir() const
+{
+}
+
+
+
diff --git a/WebCore/kwq/KWQKHTMLFactory.h b/WebCore/kwq/KWQKHTMLFactory.h
new file mode 100644
index 0000000..6cbd3fa
--- /dev/null
+++ b/WebCore/kwq/KWQKHTMLFactory.h
@@ -0,0 +1,48 @@
+/* This file is part of the KDE project
+ *
+ * Copyright (C) 2000 Simon Hausmann <hausmann at kde.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+#ifndef __khtml_factory_h__
+#define __khtml_factory_h__
+
+#include <kparts/factory.h>
+#include <kparts/historyprovider.h>
+#include <qlist.h>
+
+class KInstance;
+class HistoryProvider;
+class KHTMLPart;
+
+class KHTMLFactory : public KParts::Factory
+{
+public:
+  KHTMLFactory( bool clone = false );
+  virtual ~KHTMLFactory();
+
+
+  static KInstance *instance();
+
+  // list of visited URLs
+  static KParts::HistoryProvider *vLinks() { 
+    return KParts::HistoryProvider::self();
+  }
+
+
+};
+
+#endif
diff --git a/WebCore/kwq/KWQKHTMLFactory.mm b/WebCore/kwq/KWQKHTMLFactory.mm
new file mode 100644
index 0000000..37e026e
--- /dev/null
+++ b/WebCore/kwq/KWQKHTMLFactory.mm
@@ -0,0 +1,36 @@
+/* This file is part of the KDE project
+*
+* Copyright (C) 2000 Simon Hausmann <hausmann at kde.org>
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU Library General Public
+* License as published by the Free Software Foundation; either
+* version 2 of the License, or (at your option) any later version.
+*
+* This library is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+* Library General Public License for more details.
+*
+* You should have received a copy of the GNU Library General Public License
+* along with this library; see the file COPYING.LIB.  If not, write to
+* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+* Boston, MA 02111-1307, USA.
+*/
+#include <khtml_factory.h>
+
+
+KHTMLFactory::KHTMLFactory( bool clone = false )
+{
+}
+
+
+KHTMLFactory::~KHTMLFactory()
+{
+}
+
+
+KInstance *KHTMLFactory::instance()
+{
+}
+
diff --git a/WebCore/kwq/KWQKHTMLSettings.h b/WebCore/kwq/KWQKHTMLSettings.h
new file mode 100644
index 0000000..ef32b3d
--- /dev/null
+++ b/WebCore/kwq/KWQKHTMLSettings.h
@@ -0,0 +1,66 @@
+/*
+ * Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+ */
+
+#ifndef KHTML_SETTINGS_H_
+#define KHTML_SETTINGS_H_
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <qstring.h>
+#include <qstringlist.h>
+#include <qfont.h>
+#include <qmap.h>
+
+class KHTMLSettings
+{
+public:
+    // Font settings
+    QString stdFontName() const;
+    QString fixedFontName() const;
+    QString serifFontName() const;
+    QString sansSerifFontName() const;
+    QString cursiveFontName() const;
+    QString fantasyFontName() const;
+
+    QString settingsToCSS() const;
+
+    QFont::CharSet charset() const;
+
+    int minFontSize() const;
+    QString availableFamilies() const;
+
+    QFont::CharSet script() const;
+
+    const QValueList<int> &fontSizes() const;
+
+    bool changeCursor();
+
+    bool isFormCompletionEnabled() const;
+    int maxFormCompletionItems() const;
+};
+
+#endif
diff --git a/WebCore/kwq/KWQKHistoryProvider.mm b/WebCore/kwq/KWQKHistoryProvider.mm
new file mode 100644
index 0000000..07aaed8
--- /dev/null
+++ b/WebCore/kwq/KWQKHistoryProvider.mm
@@ -0,0 +1,53 @@
+/*
+* Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1. Redistributions of source code must retain the above copyright
+*    notice, this list of conditions and the following disclaimer.
+* 2. Redistributions in binary form must reproduce the above copyright
+*    notice, this list of conditions and the following disclaimer in the
+*    documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+* PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+*/
+
+#include <historyprovider.h>
+
+namespace KParts {
+
+HistoryProvider *HistoryProvider::self()
+{
+}
+
+
+HistoryProvider::HistoryProvider()
+{
+}
+
+
+HistoryProvider::~HistoryProvider()
+{
+}
+
+
+bool HistoryProvider::contains(const QString &) const
+{
+}
+
+
+} // namespace KParts
+
+
+
diff --git a/WebCore/kwq/KWQKIONetAccess.mm b/WebCore/kwq/KWQKIONetAccess.mm
new file mode 100644
index 0000000..208dff2
--- /dev/null
+++ b/WebCore/kwq/KWQKIONetAccess.mm
@@ -0,0 +1,50 @@
+/*
+* Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1. Redistributions of source code must retain the above copyright
+*    notice, this list of conditions and the following disclaimer.
+* 2. Redistributions in binary form must reproduce the above copyright
+*    notice, this list of conditions and the following disclaimer in the
+*    documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+* PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+*/
+
+#include <netaccess.h>
+
+namespace KIO {
+
+bool NetAccess::stat(const KURL &, KIO::UDSEntry &)
+{
+}
+
+
+QString NetAccess::lastErrorString()
+{
+}
+
+
+bool NetAccess::download(const KURL &, QString &)
+{
+}
+
+
+void NetAccess::removeTempFile(const QString &)
+{
+}
+
+} // namespace KIO
+
diff --git a/WebCore/kwq/KWQKJavaEmbed.mm b/WebCore/kwq/KWQKJavaEmbed.mm
new file mode 100644
index 0000000..5caa0fb
--- /dev/null
+++ b/WebCore/kwq/KWQKJavaEmbed.mm
@@ -0,0 +1,57 @@
+/* This file is part of the KDE project
+*
+* Copyright (C) 2000 Wynn Wilkes <wynnw at caldera.com>
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU Library General Public
+* License as published by the Free Software Foundation; either
+* version 2 of the License, or (at your option) any later version.
+*
+* This library is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+* Library General Public License for more details.
+*
+* You should have received a copy of the GNU Library General Public License
+* along with this library; see the file COPYING.LIB.  If not, write to
+* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+* Boston, MA 02111-1307, USA.
+*/
+
+/****************************************************************************
+This is a modified version of QXEmbed from Troll Tech.  It's been modified
+to work better with java applets.
+*****************************************************************************/
+
+
+#include <javaembed.h>
+
+KJavaEmbed::KJavaEmbed( QWidget *parent=0, const char *name=0, WFlags f = 0 )
+{
+}
+
+
+KJavaEmbed::~KJavaEmbed()
+{
+}
+
+
+void KJavaEmbed::embed( WId w )
+{
+}
+
+
+QSize KJavaEmbed::sizeHint() const
+{
+}
+
+
+QSize KJavaEmbed::minimumSizeHint() const
+{
+}
+
+
+void focusOutEvent( QFocusEvent * )
+{
+}
+
diff --git a/WebCore/kwq/KWQKJob.mm b/WebCore/kwq/KWQKJob.mm
new file mode 100644
index 0000000..f79ab9a
--- /dev/null
+++ b/WebCore/kwq/KWQKJob.mm
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+ */
+
+#include <job.h>
+
+
+namespace KIO {
+
+SimpleJob *http_update_cache(const KURL &, bool, time_t)
+{
+}
+
+TransferJob *get(const KURL &url, bool reload=false, 
+    bool showProgressInfo=true)
+{
+}
+
+} // namespace KIO
+
diff --git a/WebCore/kwq/KWQKJobClasses.mm b/WebCore/kwq/KWQKJobClasses.mm
new file mode 100644
index 0000000..115c96e
--- /dev/null
+++ b/WebCore/kwq/KWQKJobClasses.mm
@@ -0,0 +1,92 @@
+/*
+* Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1. Redistributions of source code must retain the above copyright
+*    notice, this list of conditions and the following disclaimer.
+* 2. Redistributions in binary form must reproduce the above copyright
+*    notice, this list of conditions and the following disclaimer in the
+*    documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+* PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+*/
+
+#include <jobclasses.h>
+
+namespace KIO {
+
+// class Job ===================================================================
+
+Job::~Job()
+{
+}
+
+
+int Job::error()
+{
+}
+
+
+const QString & Job::errorText()
+{
+}
+
+
+QString Job::errorString()
+{
+}
+
+
+void Job::kill(bool quietly=TRUE)
+{
+}
+
+
+// class SimpleJob =============================================================
+
+SimpleJob::~SimpleJob()
+{
+}
+
+
+// class TransferJob ===========================================================
+
+TransferJob::TransferJob(const KURL &, bool reload=false, bool showProgressInfo=true)
+{
+}
+
+
+bool TransferJob::isErrorPage() const
+{
+}
+
+
+void TransferJob::addMetaData(const QString &key, const QString &value)
+{
+}
+
+
+void TransferJob::kill(bool quietly=TRUE)
+{
+}
+
+
+void TransferJob::doLoad()
+{
+}
+
+
+} // namespace KIO
+
diff --git a/WebCore/kwq/KWQKMimeType.h b/WebCore/kwq/KWQKMimeType.h
index 685cef1..120cc53 100644
--- a/WebCore/kwq/KWQKMimeType.h
+++ b/WebCore/kwq/KWQKMimeType.h
@@ -49,9 +49,9 @@ public:
 
     // constructors, copy constructors, and destructors ------------------------
 
-    KSharedPtr();
+    KSharedPtr() {}
     KSharedPtr(const KSharedPtr &);
-    ~KSharedPtr();
+    ~KSharedPtr() {}
 
     // member functions --------------------------------------------------------
 
diff --git a/WebCore/kwq/KWQKProtocolManager.mm b/WebCore/kwq/KWQKProtocolManager.mm
new file mode 100644
index 0000000..83a5376
--- /dev/null
+++ b/WebCore/kwq/KWQKProtocolManager.mm
@@ -0,0 +1,38 @@
+/*
+* Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1. Redistributions of source code must retain the above copyright
+*    notice, this list of conditions and the following disclaimer.
+* 2. Redistributions in binary form must reproduce the above copyright
+*    notice, this list of conditions and the following disclaimer in the
+*    documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+* PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+*/
+
+#include <qstring.h>
+
+#include <kprotocolmanager.h>
+
+
+bool KProtocolManager::useProxy()
+{
+}
+
+
+QString KProtocolManager::httpProxy()
+{
+}
diff --git a/WebCore/kwq/KWQKScheduler.mm b/WebCore/kwq/KWQKScheduler.mm
new file mode 100644
index 0000000..4c9e907
--- /dev/null
+++ b/WebCore/kwq/KWQKScheduler.mm
@@ -0,0 +1,42 @@
+/*
+* Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1. Redistributions of source code must retain the above copyright
+*    notice, this list of conditions and the following disclaimer.
+* 2. Redistributions in binary form must reproduce the above copyright
+*    notice, this list of conditions and the following disclaimer in the
+*    documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+* PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+*/
+
+#include <scheduler.h>
+
+namespace KIO {
+
+
+void Scheduler::scheduleJob(SimpleJob *job)
+{
+}
+
+
+Scheduler::~Scheduler()
+{
+}
+
+
+} // namespace KIO
+
diff --git a/WebCore/kwq/KWQKnetaccess.mm b/WebCore/kwq/KWQKnetaccess.mm
new file mode 100644
index 0000000..208dff2
--- /dev/null
+++ b/WebCore/kwq/KWQKnetaccess.mm
@@ -0,0 +1,50 @@
+/*
+* Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1. Redistributions of source code must retain the above copyright
+*    notice, this list of conditions and the following disclaimer.
+* 2. Redistributions in binary form must reproduce the above copyright
+*    notice, this list of conditions and the following disclaimer in the
+*    documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+* PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+*/
+
+#include <netaccess.h>
+
+namespace KIO {
+
+bool NetAccess::stat(const KURL &, KIO::UDSEntry &)
+{
+}
+
+
+QString NetAccess::lastErrorString()
+{
+}
+
+
+bool NetAccess::download(const KURL &, QString &)
+{
+}
+
+
+void NetAccess::removeTempFile(const QString &)
+{
+}
+
+} // namespace KIO
+
diff --git a/WebCore/kwq/Makefile.in b/WebCore/kwq/Makefile.in
index 2744ea8..c2bb85a 100644
--- a/WebCore/kwq/Makefile.in
+++ b/WebCore/kwq/Makefile.in
@@ -43,6 +43,8 @@ MMOBJECTS = \
 	KWQFrame.o \
 	KWQHBox.o \
 	KWQImage.o \
+        KWQKjobclasses.o \
+        KWQKnetaccess.o \
         KWQKApplication.o \
         KWQKCharsets.o \
         KWQKComboBox.o \
@@ -50,13 +52,19 @@ MMOBJECTS = \
         KWQKConfigBase.o \
         KWQKCursor.o \
         KWQKDebug.o \
+        KWQKFactory.o \
+        KWQKFileItem.o \
         KWQKGlobal.o \
 	KWQKGlobalSettings.o \
+        KWQKHistoryProvider.o \
         KWQKHTMLPart.o \
+        KWQKHTMLFactory.o \
         KWQKHTMLSettings.o \
         KWQKIconLoader.o \
         KWQKImageIO.o \
         KWQKInstance.o \
+        KWQKJavaEmbed.o \
+        KWQKJob.o \
         KWQKLineEdit.o \
         KWQKListBox.o \
         KWQKMimeType.o \
@@ -64,6 +72,8 @@ MMOBJECTS = \
         KWQKPartsEvent.o \
         KWQKPrinter.o \
         KWQKProcess.o \
+        KWQKProtocolManager.o \
+        KWQKScheduler.o \
         KWQKSimpleConfig.o \
         KWQKStringHandler.o \
         KWQKWin.o \
@@ -119,6 +129,7 @@ CMMFLAGS = $(BASECMMFLAGS) \
     -I$(TOPSRCDIR)/src/kwq/kdecore \
     -I$(TOPSRCDIR)/src/kwq/kdeui \
     -I$(TOPSRCDIR)/src/kwq/khtml \
+    -I$(TOPSRCDIR)/src/kwq/khtml/java \
     -I$(TOPSRCDIR)/src/kwq/kio \
     -I$(TOPSRCDIR)/src/kwq/kparts \
     -I. \
diff --git a/WebCore/kwq/kde/Makefile b/WebCore/kwq/kde/Makefile
new file mode 100644
index 0000000..52614ba
--- /dev/null
+++ b/WebCore/kwq/kde/Makefile
@@ -0,0 +1,59 @@
+# Generated automatically from Makefile.in by configure.
+#======================================================================
+#
+# Makefile
+#
+# $RCSfile$
+#
+#======================================================================
+# set top source dir relative to this directory
+# include make vars boilerplate
+#
+
+TOPSRCDIR = ../../..
+include $(TOPSRCDIR)/Makefile.vars
+
+#----------------------------------------------------------------------
+# Set variables for this directory
+
+SOURCES = $(wildcard *.cpp)
+CXXOBJECTS = $(patsubst %.cpp,%.o,$(wildcard *.cpp))
+
+OBJECTS = $(CXXOBJECTS)
+
+LIBRARY = lib_kde.a
+
+CLEAN_FILES = *.o \
+    *.a \
+    $(NULL)
+
+#----------------------------------------------------------------------
+# Set flags for this directory
+
+CXXFLAGS = $(BASECXXFLAGS) \
+    -I$(TOPSRCDIR) \
+    -I../kdecore \
+    -I../qt \
+    -I.. \
+    -I. \
+    $(NULL)
+
+DEPFLAGS = $(CXXFLAGS)
+
+#----------------------------------------------------------------------
+# Set targets for this directory
+
+all: $(OBJECTS) $(LIBRARY)
+
+$(LIBRARY): $(OBJECTS)
+	$(AR) $(ARFLAGS) $(LIBRARY) $(CXXOBJECTS)
+	$(RANLIB) $(LIBRARY)
+
+#----------------------------------------------------------------------
+# include make rules boilerplate
+
+include $(TOPSRCDIR)/Makefile.rules
+
+#======================================================================
+# end
+#======================================================================
diff --git a/WebCore/kwq/khtml/java/javaembed.h b/WebCore/kwq/khtml/java/javaembed.h
new file mode 100644
index 0000000..5fab25a
--- /dev/null
+++ b/WebCore/kwq/khtml/java/javaembed.h
@@ -0,0 +1,52 @@
+/* This file is part of the KDE project
+ *
+ * Copyright (C) 2000 Wynn Wilkes <wynnw at caldera.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+/****************************************************************************
+   This is a modified version of QXEmbed from Troll Tech.  It's been modified
+   to work better with java applets.
+*****************************************************************************/
+
+#ifndef KJAVAEMBED_H
+#define KJAVAEMBED_H
+
+#include <qwidget.h>
+
+class KJavaEmbed : public QWidget
+{
+public:
+
+    KJavaEmbed( QWidget *parent=0, const char *name=0, WFlags f = 0 );
+    ~KJavaEmbed();
+
+    /**
+     * Swallows the window with the given Window ID.
+     */
+    void embed( WId w );
+
+    QSize sizeHint() const;
+    QSize minimumSizeHint() const;
+    QSizePolicy sizePolicy() const;
+
+protected:
+    void focusOutEvent( QFocusEvent * );
+};
+
+
+#endif
diff --git a/WebCore/kwq/khtml/khtml_factory.h b/WebCore/kwq/khtml/khtml_factory.h
new file mode 100644
index 0000000..6cbd3fa
--- /dev/null
+++ b/WebCore/kwq/khtml/khtml_factory.h
@@ -0,0 +1,48 @@
+/* This file is part of the KDE project
+ *
+ * Copyright (C) 2000 Simon Hausmann <hausmann at kde.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+#ifndef __khtml_factory_h__
+#define __khtml_factory_h__
+
+#include <kparts/factory.h>
+#include <kparts/historyprovider.h>
+#include <qlist.h>
+
+class KInstance;
+class HistoryProvider;
+class KHTMLPart;
+
+class KHTMLFactory : public KParts::Factory
+{
+public:
+  KHTMLFactory( bool clone = false );
+  virtual ~KHTMLFactory();
+
+
+  static KInstance *instance();
+
+  // list of visited URLs
+  static KParts::HistoryProvider *vLinks() { 
+    return KParts::HistoryProvider::self();
+  }
+
+
+};
+
+#endif
diff --git a/WebCore/kwq/khtml/khtml_settings.h b/WebCore/kwq/khtml/khtml_settings.h
new file mode 100644
index 0000000..ef32b3d
--- /dev/null
+++ b/WebCore/kwq/khtml/khtml_settings.h
@@ -0,0 +1,66 @@
+/*
+ * Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+ */
+
+#ifndef KHTML_SETTINGS_H_
+#define KHTML_SETTINGS_H_
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <qstring.h>
+#include <qstringlist.h>
+#include <qfont.h>
+#include <qmap.h>
+
+class KHTMLSettings
+{
+public:
+    // Font settings
+    QString stdFontName() const;
+    QString fixedFontName() const;
+    QString serifFontName() const;
+    QString sansSerifFontName() const;
+    QString cursiveFontName() const;
+    QString fantasyFontName() const;
+
+    QString settingsToCSS() const;
+
+    QFont::CharSet charset() const;
+
+    int minFontSize() const;
+    QString availableFamilies() const;
+
+    QFont::CharSet script() const;
+
+    const QValueList<int> &fontSizes() const;
+
+    bool changeCursor();
+
+    bool isFormCompletionEnabled() const;
+    int maxFormCompletionItems() const;
+};
+
+#endif
diff --git a/WebCore/kwq/kio/kmimetype.h b/WebCore/kwq/kio/kmimetype.h
index 685cef1..120cc53 100644
--- a/WebCore/kwq/kio/kmimetype.h
+++ b/WebCore/kwq/kio/kmimetype.h
@@ -49,9 +49,9 @@ public:
 
     // constructors, copy constructors, and destructors ------------------------
 
-    KSharedPtr();
+    KSharedPtr() {}
     KSharedPtr(const KSharedPtr &);
-    ~KSharedPtr();
+    ~KSharedPtr() {}
 
     // member functions --------------------------------------------------------
 
diff --git a/WebCore/kwq/kio/kprotocolmanager.h b/WebCore/kwq/kio/kprotocolmanager.h
index c9f5cdf..9baed98 100644
--- a/WebCore/kwq/kio/kprotocolmanager.h
+++ b/WebCore/kwq/kio/kprotocolmanager.h
@@ -44,7 +44,6 @@ public:
 
     // static member functions -------------------------------------------------
 
-    static QString userAgentForHost(const QString &);
     static bool useProxy();
     static QString httpProxy();
 
diff --git a/WebCore/kwq/tests/khtmlview/WebViewTest/WebViewTest.pbproj/project.pbxproj b/WebCore/kwq/tests/khtmlview/WebViewTest/WebViewTest.pbproj/project.pbxproj
index d46854c..56952df 100644
--- a/WebCore/kwq/tests/khtmlview/WebViewTest/WebViewTest.pbproj/project.pbxproj
+++ b/WebCore/kwq/tests/khtmlview/WebViewTest/WebViewTest.pbproj/project.pbxproj
@@ -215,7 +215,7 @@
 				INSTALL_PATH = "$(HOME)/Applications";
 				LIBRARY_SEARCH_PATHS = "";
 				OTHER_CFLAGS = "-DHAVE_CONFIG_H -DQT_NO_DATASTREAM -D_KWQ_ -I../../../qt -I../../.. -I../../../../.. -I../../../../kdelibs/khtml -I../../../../kwq/kdecore -I../../../../kwq/kde";
-				OTHER_LDFLAGS = "-L../../../../.. -L../../.. -L../../../qt -lkde -lkwq -l_qt -lstdc++ -ljpeg";
+				OTHER_LDFLAGS = "-L../../../../.. -L../../.. -L../../../kde  -L../../../qt -lkde -lkwq -l_kde -l_qt -lstdc++ -ljpeg";
 				PRODUCT_NAME = WebViewTest;
 				SECTORDER_FLAGS = "";
 				WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas";
diff --git a/WebCore/src/kwq/KWQCursor.mm b/WebCore/src/kwq/KWQCursor.mm
index b09a9a9..f3be66f 100644
--- a/WebCore/src/kwq/KWQCursor.mm
+++ b/WebCore/src/kwq/KWQCursor.mm
@@ -25,6 +25,10 @@
 
 #include <qcursor.h>
 
+const QCursor & Qt::sizeAllCursor = QCursor();
+const QCursor & Qt::splitHCursor = QCursor();
+const QCursor & Qt::splitVCursor = QCursor();
+
 QCursor::QCursor()
 {
 }
diff --git a/WebCore/src/kwq/KWQKFactory.mm b/WebCore/src/kwq/KWQKFactory.mm
new file mode 100644
index 0000000..d5c7b64
--- /dev/null
+++ b/WebCore/src/kwq/KWQKFactory.mm
@@ -0,0 +1,42 @@
+/*
+* Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1. Redistributions of source code must retain the above copyright
+*    notice, this list of conditions and the following disclaimer.
+* 2. Redistributions in binary form must reproduce the above copyright
+*    notice, this list of conditions and the following disclaimer in the
+*    documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+* PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+*/
+
+#include <factory.h>
+
+namespace KParts {
+
+Factory::Factory()
+{
+}
+
+
+Factory::~Factory()
+{
+}
+
+
+} // namespace KParts
+
+
diff --git a/WebCore/src/kwq/KWQKFileItem.mm b/WebCore/src/kwq/KWQKFileItem.mm
new file mode 100644
index 0000000..ac4b03e
--- /dev/null
+++ b/WebCore/src/kwq/KWQKFileItem.mm
@@ -0,0 +1,45 @@
+/*
+* Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1. Redistributions of source code must retain the above copyright
+*    notice, this list of conditions and the following disclaimer.
+* 2. Redistributions in binary form must reproduce the above copyright
+*    notice, this list of conditions and the following disclaimer in the
+*    documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+* PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+*/
+
+#include <kfileitem.h>
+
+
+KFileItem::KFileItem(const KIO::UDSEntry &, const KURL &, bool foo=false, 
+    bool bar=false)
+{
+}
+
+
+KFileItem::~KFileItem()
+{
+}
+
+
+bool KFileItem::isDir() const
+{
+}
+
+
+
diff --git a/WebCore/src/kwq/KWQKHTMLFactory.mm b/WebCore/src/kwq/KWQKHTMLFactory.mm
new file mode 100644
index 0000000..37e026e
--- /dev/null
+++ b/WebCore/src/kwq/KWQKHTMLFactory.mm
@@ -0,0 +1,36 @@
+/* This file is part of the KDE project
+*
+* Copyright (C) 2000 Simon Hausmann <hausmann at kde.org>
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU Library General Public
+* License as published by the Free Software Foundation; either
+* version 2 of the License, or (at your option) any later version.
+*
+* This library is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+* Library General Public License for more details.
+*
+* You should have received a copy of the GNU Library General Public License
+* along with this library; see the file COPYING.LIB.  If not, write to
+* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+* Boston, MA 02111-1307, USA.
+*/
+#include <khtml_factory.h>
+
+
+KHTMLFactory::KHTMLFactory( bool clone = false )
+{
+}
+
+
+KHTMLFactory::~KHTMLFactory()
+{
+}
+
+
+KInstance *KHTMLFactory::instance()
+{
+}
+
diff --git a/WebCore/src/kwq/KWQKHistoryProvider.mm b/WebCore/src/kwq/KWQKHistoryProvider.mm
new file mode 100644
index 0000000..07aaed8
--- /dev/null
+++ b/WebCore/src/kwq/KWQKHistoryProvider.mm
@@ -0,0 +1,53 @@
+/*
+* Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1. Redistributions of source code must retain the above copyright
+*    notice, this list of conditions and the following disclaimer.
+* 2. Redistributions in binary form must reproduce the above copyright
+*    notice, this list of conditions and the following disclaimer in the
+*    documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+* PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+*/
+
+#include <historyprovider.h>
+
+namespace KParts {
+
+HistoryProvider *HistoryProvider::self()
+{
+}
+
+
+HistoryProvider::HistoryProvider()
+{
+}
+
+
+HistoryProvider::~HistoryProvider()
+{
+}
+
+
+bool HistoryProvider::contains(const QString &) const
+{
+}
+
+
+} // namespace KParts
+
+
+
diff --git a/WebCore/src/kwq/KWQKJavaEmbed.mm b/WebCore/src/kwq/KWQKJavaEmbed.mm
new file mode 100644
index 0000000..5caa0fb
--- /dev/null
+++ b/WebCore/src/kwq/KWQKJavaEmbed.mm
@@ -0,0 +1,57 @@
+/* This file is part of the KDE project
+*
+* Copyright (C) 2000 Wynn Wilkes <wynnw at caldera.com>
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU Library General Public
+* License as published by the Free Software Foundation; either
+* version 2 of the License, or (at your option) any later version.
+*
+* This library is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+* Library General Public License for more details.
+*
+* You should have received a copy of the GNU Library General Public License
+* along with this library; see the file COPYING.LIB.  If not, write to
+* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+* Boston, MA 02111-1307, USA.
+*/
+
+/****************************************************************************
+This is a modified version of QXEmbed from Troll Tech.  It's been modified
+to work better with java applets.
+*****************************************************************************/
+
+
+#include <javaembed.h>
+
+KJavaEmbed::KJavaEmbed( QWidget *parent=0, const char *name=0, WFlags f = 0 )
+{
+}
+
+
+KJavaEmbed::~KJavaEmbed()
+{
+}
+
+
+void KJavaEmbed::embed( WId w )
+{
+}
+
+
+QSize KJavaEmbed::sizeHint() const
+{
+}
+
+
+QSize KJavaEmbed::minimumSizeHint() const
+{
+}
+
+
+void focusOutEvent( QFocusEvent * )
+{
+}
+
diff --git a/WebCore/src/kwq/KWQKJob.mm b/WebCore/src/kwq/KWQKJob.mm
new file mode 100644
index 0000000..f79ab9a
--- /dev/null
+++ b/WebCore/src/kwq/KWQKJob.mm
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+ */
+
+#include <job.h>
+
+
+namespace KIO {
+
+SimpleJob *http_update_cache(const KURL &, bool, time_t)
+{
+}
+
+TransferJob *get(const KURL &url, bool reload=false, 
+    bool showProgressInfo=true)
+{
+}
+
+} // namespace KIO
+
diff --git a/WebCore/src/kwq/KWQKProtocolManager.mm b/WebCore/src/kwq/KWQKProtocolManager.mm
new file mode 100644
index 0000000..83a5376
--- /dev/null
+++ b/WebCore/src/kwq/KWQKProtocolManager.mm
@@ -0,0 +1,38 @@
+/*
+* Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1. Redistributions of source code must retain the above copyright
+*    notice, this list of conditions and the following disclaimer.
+* 2. Redistributions in binary form must reproduce the above copyright
+*    notice, this list of conditions and the following disclaimer in the
+*    documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+* PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+*/
+
+#include <qstring.h>
+
+#include <kprotocolmanager.h>
+
+
+bool KProtocolManager::useProxy()
+{
+}
+
+
+QString KProtocolManager::httpProxy()
+{
+}
diff --git a/WebCore/src/kwq/KWQKScheduler.mm b/WebCore/src/kwq/KWQKScheduler.mm
new file mode 100644
index 0000000..4c9e907
--- /dev/null
+++ b/WebCore/src/kwq/KWQKScheduler.mm
@@ -0,0 +1,42 @@
+/*
+* Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1. Redistributions of source code must retain the above copyright
+*    notice, this list of conditions and the following disclaimer.
+* 2. Redistributions in binary form must reproduce the above copyright
+*    notice, this list of conditions and the following disclaimer in the
+*    documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+* PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+*/
+
+#include <scheduler.h>
+
+namespace KIO {
+
+
+void Scheduler::scheduleJob(SimpleJob *job)
+{
+}
+
+
+Scheduler::~Scheduler()
+{
+}
+
+
+} // namespace KIO
+
diff --git a/WebCore/src/kwq/KWQKjobclasses.mm b/WebCore/src/kwq/KWQKjobclasses.mm
new file mode 100644
index 0000000..115c96e
--- /dev/null
+++ b/WebCore/src/kwq/KWQKjobclasses.mm
@@ -0,0 +1,92 @@
+/*
+* Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1. Redistributions of source code must retain the above copyright
+*    notice, this list of conditions and the following disclaimer.
+* 2. Redistributions in binary form must reproduce the above copyright
+*    notice, this list of conditions and the following disclaimer in the
+*    documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+* PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+*/
+
+#include <jobclasses.h>
+
+namespace KIO {
+
+// class Job ===================================================================
+
+Job::~Job()
+{
+}
+
+
+int Job::error()
+{
+}
+
+
+const QString & Job::errorText()
+{
+}
+
+
+QString Job::errorString()
+{
+}
+
+
+void Job::kill(bool quietly=TRUE)
+{
+}
+
+
+// class SimpleJob =============================================================
+
+SimpleJob::~SimpleJob()
+{
+}
+
+
+// class TransferJob ===========================================================
+
+TransferJob::TransferJob(const KURL &, bool reload=false, bool showProgressInfo=true)
+{
+}
+
+
+bool TransferJob::isErrorPage() const
+{
+}
+
+
+void TransferJob::addMetaData(const QString &key, const QString &value)
+{
+}
+
+
+void TransferJob::kill(bool quietly=TRUE)
+{
+}
+
+
+void TransferJob::doLoad()
+{
+}
+
+
+} // namespace KIO
+
diff --git a/WebCore/src/kwq/KWQKnetaccess.mm b/WebCore/src/kwq/KWQKnetaccess.mm
new file mode 100644
index 0000000..208dff2
--- /dev/null
+++ b/WebCore/src/kwq/KWQKnetaccess.mm
@@ -0,0 +1,50 @@
+/*
+* Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1. Redistributions of source code must retain the above copyright
+*    notice, this list of conditions and the following disclaimer.
+* 2. Redistributions in binary form must reproduce the above copyright
+*    notice, this list of conditions and the following disclaimer in the
+*    documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+* PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+*/
+
+#include <netaccess.h>
+
+namespace KIO {
+
+bool NetAccess::stat(const KURL &, KIO::UDSEntry &)
+{
+}
+
+
+QString NetAccess::lastErrorString()
+{
+}
+
+
+bool NetAccess::download(const KURL &, QString &)
+{
+}
+
+
+void NetAccess::removeTempFile(const QString &)
+{
+}
+
+} // namespace KIO
+
diff --git a/WebCore/src/kwq/Makefile.in b/WebCore/src/kwq/Makefile.in
index 2744ea8..c2bb85a 100644
--- a/WebCore/src/kwq/Makefile.in
+++ b/WebCore/src/kwq/Makefile.in
@@ -43,6 +43,8 @@ MMOBJECTS = \
 	KWQFrame.o \
 	KWQHBox.o \
 	KWQImage.o \
+        KWQKjobclasses.o \
+        KWQKnetaccess.o \
         KWQKApplication.o \
         KWQKCharsets.o \
         KWQKComboBox.o \
@@ -50,13 +52,19 @@ MMOBJECTS = \
         KWQKConfigBase.o \
         KWQKCursor.o \
         KWQKDebug.o \
+        KWQKFactory.o \
+        KWQKFileItem.o \
         KWQKGlobal.o \
 	KWQKGlobalSettings.o \
+        KWQKHistoryProvider.o \
         KWQKHTMLPart.o \
+        KWQKHTMLFactory.o \
         KWQKHTMLSettings.o \
         KWQKIconLoader.o \
         KWQKImageIO.o \
         KWQKInstance.o \
+        KWQKJavaEmbed.o \
+        KWQKJob.o \
         KWQKLineEdit.o \
         KWQKListBox.o \
         KWQKMimeType.o \
@@ -64,6 +72,8 @@ MMOBJECTS = \
         KWQKPartsEvent.o \
         KWQKPrinter.o \
         KWQKProcess.o \
+        KWQKProtocolManager.o \
+        KWQKScheduler.o \
         KWQKSimpleConfig.o \
         KWQKStringHandler.o \
         KWQKWin.o \
@@ -119,6 +129,7 @@ CMMFLAGS = $(BASECMMFLAGS) \
     -I$(TOPSRCDIR)/src/kwq/kdecore \
     -I$(TOPSRCDIR)/src/kwq/kdeui \
     -I$(TOPSRCDIR)/src/kwq/khtml \
+    -I$(TOPSRCDIR)/src/kwq/khtml/java \
     -I$(TOPSRCDIR)/src/kwq/kio \
     -I$(TOPSRCDIR)/src/kwq/kparts \
     -I. \
diff --git a/WebCore/src/kwq/kde/Makefile b/WebCore/src/kwq/kde/Makefile
new file mode 100644
index 0000000..52614ba
--- /dev/null
+++ b/WebCore/src/kwq/kde/Makefile
@@ -0,0 +1,59 @@
+# Generated automatically from Makefile.in by configure.
+#======================================================================
+#
+# Makefile
+#
+# $RCSfile$
+#
+#======================================================================
+# set top source dir relative to this directory
+# include make vars boilerplate
+#
+
+TOPSRCDIR = ../../..
+include $(TOPSRCDIR)/Makefile.vars
+
+#----------------------------------------------------------------------
+# Set variables for this directory
+
+SOURCES = $(wildcard *.cpp)
+CXXOBJECTS = $(patsubst %.cpp,%.o,$(wildcard *.cpp))
+
+OBJECTS = $(CXXOBJECTS)
+
+LIBRARY = lib_kde.a
+
+CLEAN_FILES = *.o \
+    *.a \
+    $(NULL)
+
+#----------------------------------------------------------------------
+# Set flags for this directory
+
+CXXFLAGS = $(BASECXXFLAGS) \
+    -I$(TOPSRCDIR) \
+    -I../kdecore \
+    -I../qt \
+    -I.. \
+    -I. \
+    $(NULL)
+
+DEPFLAGS = $(CXXFLAGS)
+
+#----------------------------------------------------------------------
+# Set targets for this directory
+
+all: $(OBJECTS) $(LIBRARY)
+
+$(LIBRARY): $(OBJECTS)
+	$(AR) $(ARFLAGS) $(LIBRARY) $(CXXOBJECTS)
+	$(RANLIB) $(LIBRARY)
+
+#----------------------------------------------------------------------
+# include make rules boilerplate
+
+include $(TOPSRCDIR)/Makefile.rules
+
+#======================================================================
+# end
+#======================================================================
diff --git a/WebCore/src/kwq/khtml/java/javaembed.h b/WebCore/src/kwq/khtml/java/javaembed.h
new file mode 100644
index 0000000..5fab25a
--- /dev/null
+++ b/WebCore/src/kwq/khtml/java/javaembed.h
@@ -0,0 +1,52 @@
+/* This file is part of the KDE project
+ *
+ * Copyright (C) 2000 Wynn Wilkes <wynnw at caldera.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+/****************************************************************************
+   This is a modified version of QXEmbed from Troll Tech.  It's been modified
+   to work better with java applets.
+*****************************************************************************/
+
+#ifndef KJAVAEMBED_H
+#define KJAVAEMBED_H
+
+#include <qwidget.h>
+
+class KJavaEmbed : public QWidget
+{
+public:
+
+    KJavaEmbed( QWidget *parent=0, const char *name=0, WFlags f = 0 );
+    ~KJavaEmbed();
+
+    /**
+     * Swallows the window with the given Window ID.
+     */
+    void embed( WId w );
+
+    QSize sizeHint() const;
+    QSize minimumSizeHint() const;
+    QSizePolicy sizePolicy() const;
+
+protected:
+    void focusOutEvent( QFocusEvent * );
+};
+
+
+#endif
diff --git a/WebCore/src/kwq/khtml/khtml_factory.h b/WebCore/src/kwq/khtml/khtml_factory.h
new file mode 100644
index 0000000..6cbd3fa
--- /dev/null
+++ b/WebCore/src/kwq/khtml/khtml_factory.h
@@ -0,0 +1,48 @@
+/* This file is part of the KDE project
+ *
+ * Copyright (C) 2000 Simon Hausmann <hausmann at kde.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+#ifndef __khtml_factory_h__
+#define __khtml_factory_h__
+
+#include <kparts/factory.h>
+#include <kparts/historyprovider.h>
+#include <qlist.h>
+
+class KInstance;
+class HistoryProvider;
+class KHTMLPart;
+
+class KHTMLFactory : public KParts::Factory
+{
+public:
+  KHTMLFactory( bool clone = false );
+  virtual ~KHTMLFactory();
+
+
+  static KInstance *instance();
+
+  // list of visited URLs
+  static KParts::HistoryProvider *vLinks() { 
+    return KParts::HistoryProvider::self();
+  }
+
+
+};
+
+#endif
diff --git a/WebCore/src/kwq/khtml/khtml_settings.h b/WebCore/src/kwq/khtml/khtml_settings.h
new file mode 100644
index 0000000..ef32b3d
--- /dev/null
+++ b/WebCore/src/kwq/khtml/khtml_settings.h
@@ -0,0 +1,66 @@
+/*
+ * Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+ */
+
+#ifndef KHTML_SETTINGS_H_
+#define KHTML_SETTINGS_H_
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <qstring.h>
+#include <qstringlist.h>
+#include <qfont.h>
+#include <qmap.h>
+
+class KHTMLSettings
+{
+public:
+    // Font settings
+    QString stdFontName() const;
+    QString fixedFontName() const;
+    QString serifFontName() const;
+    QString sansSerifFontName() const;
+    QString cursiveFontName() const;
+    QString fantasyFontName() const;
+
+    QString settingsToCSS() const;
+
+    QFont::CharSet charset() const;
+
+    int minFontSize() const;
+    QString availableFamilies() const;
+
+    QFont::CharSet script() const;
+
+    const QValueList<int> &fontSizes() const;
+
+    bool changeCursor();
+
+    bool isFormCompletionEnabled() const;
+    int maxFormCompletionItems() const;
+};
+
+#endif
diff --git a/WebCore/src/kwq/kio/kmimetype.h b/WebCore/src/kwq/kio/kmimetype.h
index 685cef1..120cc53 100644
--- a/WebCore/src/kwq/kio/kmimetype.h
+++ b/WebCore/src/kwq/kio/kmimetype.h
@@ -49,9 +49,9 @@ public:
 
     // constructors, copy constructors, and destructors ------------------------
 
-    KSharedPtr();
+    KSharedPtr() {}
     KSharedPtr(const KSharedPtr &);
-    ~KSharedPtr();
+    ~KSharedPtr() {}
 
     // member functions --------------------------------------------------------
 
diff --git a/WebCore/src/kwq/kio/kprotocolmanager.h b/WebCore/src/kwq/kio/kprotocolmanager.h
index c9f5cdf..9baed98 100644
--- a/WebCore/src/kwq/kio/kprotocolmanager.h
+++ b/WebCore/src/kwq/kio/kprotocolmanager.h
@@ -44,7 +44,6 @@ public:
 
     // static member functions -------------------------------------------------
 
-    static QString userAgentForHost(const QString &);
     static bool useProxy();
     static QString httpProxy();
 
diff --git a/WebCore/src/kwq/tests/khtmlview/WebViewTest/WebViewTest.pbproj/project.pbxproj b/WebCore/src/kwq/tests/khtmlview/WebViewTest/WebViewTest.pbproj/project.pbxproj
index d46854c..56952df 100644
--- a/WebCore/src/kwq/tests/khtmlview/WebViewTest/WebViewTest.pbproj/project.pbxproj
+++ b/WebCore/src/kwq/tests/khtmlview/WebViewTest/WebViewTest.pbproj/project.pbxproj
@@ -215,7 +215,7 @@
 				INSTALL_PATH = "$(HOME)/Applications";
 				LIBRARY_SEARCH_PATHS = "";
 				OTHER_CFLAGS = "-DHAVE_CONFIG_H -DQT_NO_DATASTREAM -D_KWQ_ -I../../../qt -I../../.. -I../../../../.. -I../../../../kdelibs/khtml -I../../../../kwq/kdecore -I../../../../kwq/kde";
-				OTHER_LDFLAGS = "-L../../../../.. -L../../.. -L../../../qt -lkde -lkwq -l_qt -lstdc++ -ljpeg";
+				OTHER_LDFLAGS = "-L../../../../.. -L../../.. -L../../../kde  -L../../../qt -lkde -lkwq -l_kde -l_qt -lstdc++ -ljpeg";
 				PRODUCT_NAME = WebViewTest;
 				SECTORDER_FLAGS = "";
 				WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas";

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list