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

kocienda kocienda at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:39:52 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit fe4bf18932a2429f480a5c479df7c80f7002c48c
Author: kocienda <kocienda at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Aug 28 13:51:26 2001 +0000

    Modified a number of files by adding skeletal type implementations and
    includes that aid in getting khtml/dom to compile.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/kwq/KWQApplication.h b/WebCore/kwq/KWQApplication.h
index 94c9a02..e6ff0ed 100644
--- a/WebCore/kwq/KWQApplication.h
+++ b/WebCore/kwq/KWQApplication.h
@@ -26,4 +26,12 @@
 #ifndef QAPPLICATION_H_
 #define QAPPLICATION_H_
 
+#include "qpalette.h"
+#include "qwidget.h"
+
+class QApplication {
+public:
+	static QPalette palette(const QWidget* = 0);
+};
+
 #endif
diff --git a/WebCore/kwq/KWQBuffer.h b/WebCore/kwq/KWQBuffer.h
index 489a9b7..0acd320 100644
--- a/WebCore/kwq/KWQBuffer.h
+++ b/WebCore/kwq/KWQBuffer.h
@@ -26,6 +26,7 @@
 #ifndef QBUFFER_H_
 #define QBUFFER_H_
 
-class QBuffer;
+class QBuffer {
+};
 
 #endif
diff --git a/WebCore/kwq/KWQCString.h b/WebCore/kwq/KWQCString.h
index ebd4640..0b06d02 100644
--- a/WebCore/kwq/KWQCString.h
+++ b/WebCore/kwq/KWQCString.h
@@ -26,4 +26,6 @@
 #ifndef QCSTRING_H_
 #define QCSTRING_H_
 
+#include "qarray.h"
+
 #endif
diff --git a/WebCore/kwq/KWQColor.h b/WebCore/kwq/KWQColor.h
index 674ea5c..b7a2c8c 100644
--- a/WebCore/kwq/KWQColor.h
+++ b/WebCore/kwq/KWQColor.h
@@ -31,6 +31,10 @@ public:
     int red() const;
     int green() const;
     int blue() const;
+
+bool operator==(const QColor &x) const;
+bool operator!=(const QColor &x) const;
+
 };
 
 #endif
diff --git a/WebCore/kwq/KWQDateTime.h b/WebCore/kwq/KWQDateTime.h
index a555917..ca8a604 100644
--- a/WebCore/kwq/KWQDateTime.h
+++ b/WebCore/kwq/KWQDateTime.h
@@ -29,4 +29,7 @@
 class QTime {
 };
 
+class QDateTime {
+};
+
 #endif
diff --git a/WebCore/kwq/KWQDict.h b/WebCore/kwq/KWQDict.h
index f1bee98..398f1fe 100644
--- a/WebCore/kwq/KWQDict.h
+++ b/WebCore/kwq/KWQDict.h
@@ -26,4 +26,7 @@
 #ifndef QDICT_H_
 #define QDICT_H_
 
+template <class T> class QDict {
+};
+
 #endif
diff --git a/WebCore/kwq/KWQFont.h b/WebCore/kwq/KWQFont.h
index 53a6bc1..bb0b35e 100644
--- a/WebCore/kwq/KWQFont.h
+++ b/WebCore/kwq/KWQFont.h
@@ -26,4 +26,10 @@
 #ifndef QFONT_H_
 #define QFONT_H_
 
+class QFont {
+public:
+	bool operator==(const QFont &x) const;
+	bool operator!=(const QFont &x) const;
+};
+
 #endif
diff --git a/WebCore/kwq/KWQKURL.h b/WebCore/kwq/KWQKURL.h
index 831f088..a87579b 100644
--- a/WebCore/kwq/KWQKURL.h
+++ b/WebCore/kwq/KWQKURL.h
@@ -26,4 +26,7 @@
 #ifndef KURL_H_
 #define KURL_H_
 
+class KURL {
+};
+
 #endif
diff --git a/WebCore/kwq/KWQMemArray.h b/WebCore/kwq/KWQMemArray.h
index b0ac862..69222e1 100644
--- a/WebCore/kwq/KWQMemArray.h
+++ b/WebCore/kwq/KWQMemArray.h
@@ -26,4 +26,7 @@
 #ifndef QARRAY_H_
 #define QARRAY_H_
 
+class QByteArray {
+};
+
 #endif
diff --git a/WebCore/kwq/KWQPalette.h b/WebCore/kwq/KWQPalette.h
index 5d219a7..d0625c0 100644
--- a/WebCore/kwq/KWQPalette.h
+++ b/WebCore/kwq/KWQPalette.h
@@ -26,4 +26,16 @@
 #ifndef QPALETTE_H_
 #define QPALETTE_H_
 
+class QColorGroup {
+public:
+	enum ColorRole {};
+	void setColor(ColorRole role, const QColor &color);
+};
+
+class QPalette {
+public:
+	enum ColorGroup {};
+	void setColor(ColorGroup, QColorGroup::ColorRole role, const QColor &color);
+}; 
+
 #endif
diff --git a/WebCore/kwq/KWQPixmap.h b/WebCore/kwq/KWQPixmap.h
index 4523216..de669dc 100644
--- a/WebCore/kwq/KWQPixmap.h
+++ b/WebCore/kwq/KWQPixmap.h
@@ -26,6 +26,7 @@
 #ifndef QPIXMAP_H_
 #define QPIXMAP_H_
 
-class QPixmap;
+class QPixmap {
+};
 
 #endif
diff --git a/WebCore/kwq/KWQPtrDict.h b/WebCore/kwq/KWQPtrDict.h
index 64ec482..fc1bca7 100644
--- a/WebCore/kwq/KWQPtrDict.h
+++ b/WebCore/kwq/KWQPtrDict.h
@@ -26,4 +26,11 @@
 #ifndef QPTRDICT_H_
 #define QPTRDICT_H_
 
+template <class T> class QPtrDict {
+public:
+    uint count() const;
+    T *at(uint);
+    void append(const T *);
+};
+
 #endif
diff --git a/WebCore/kwq/KWQScrollView.h b/WebCore/kwq/KWQScrollView.h
index 99cfa91..e5a3007 100644
--- a/WebCore/kwq/KWQScrollView.h
+++ b/WebCore/kwq/KWQScrollView.h
@@ -26,4 +26,8 @@
 #ifndef QSCROLLVIEW_H_
 #define QSCROLLVIEW_H_
 
+class QScrollView {
+	typedef int ScrollBarMode;
+};
+
 #endif
diff --git a/WebCore/kwq/KWQSize.h b/WebCore/kwq/KWQSize.h
index a56ce23..10ab628 100644
--- a/WebCore/kwq/KWQSize.h
+++ b/WebCore/kwq/KWQSize.h
@@ -26,4 +26,7 @@
 #ifndef QSIZE_H_
 #define QSIZE_H_
 
+class QSize {
+};
+
 #endif
diff --git a/WebCore/kwq/KWQString.h b/WebCore/kwq/KWQString.h
index b7acef6..89eb309 100644
--- a/WebCore/kwq/KWQString.h
+++ b/WebCore/kwq/KWQString.h
@@ -29,6 +29,8 @@
 #include <kwq.h>
 #include <string.h>
 
+#include "qcstring.h"
+
 class QChar {
 public:
     QChar(char);
@@ -48,6 +50,7 @@ public:
     bool isNull() const;
     const QChar *unicode() const;
     uint length() const;
+    QString &sprintf(const char *format, ...);
 
     static const QString null;
 
diff --git a/WebCore/kwq/KWQStringList.h b/WebCore/kwq/KWQStringList.h
index 724ec01..7eed443 100644
--- a/WebCore/kwq/KWQStringList.h
+++ b/WebCore/kwq/KWQStringList.h
@@ -26,7 +26,11 @@
 #ifndef QSTRINGLIST_H_
 #define QSTRINGLIST_H_
 
-class QStringList {
+#include "qstring.h"
+#include "qvaluelist.h"
+
+class QStringList : public QValueList<QString> {
+	
 };
 
 #endif
diff --git a/WebCore/kwq/KWQValueList.h b/WebCore/kwq/KWQValueList.h
index d108e40..ef1df64 100644
--- a/WebCore/kwq/KWQValueList.h
+++ b/WebCore/kwq/KWQValueList.h
@@ -27,6 +27,9 @@
 #define QVALUELIST_H_
 
 template <class T> class QValueList {
+public:
+	void append(const T& x);
+	void remove(const T& x);
 };
 
 #endif
diff --git a/WebCore/kwq/KWQWidget.h b/WebCore/kwq/KWQWidget.h
index f5ca6a7..e65da34 100644
--- a/WebCore/kwq/KWQWidget.h
+++ b/WebCore/kwq/KWQWidget.h
@@ -26,4 +26,7 @@
 #ifndef QWIDGET_H_
 #define QWIDGET_H_
 
+class QWidget {
+};
+
 #endif
diff --git a/WebCore/kwq/KWQXml.h b/WebCore/kwq/KWQXml.h
index 81c4ae5..4f72b8c 100644
--- a/WebCore/kwq/KWQXml.h
+++ b/WebCore/kwq/KWQXml.h
@@ -26,4 +26,10 @@
 #ifndef QXML_H_
 #define QXML_H_
 
+class QXmlDefaultHandler {
+};
+
+class QXmlAttributes {
+};
+
 #endif
diff --git a/WebCore/kwq/kdecore/kurl.h b/WebCore/kwq/kdecore/kurl.h
index 831f088..a87579b 100644
--- a/WebCore/kwq/kdecore/kurl.h
+++ b/WebCore/kwq/kdecore/kurl.h
@@ -26,4 +26,7 @@
 #ifndef KURL_H_
 #define KURL_H_
 
+class KURL {
+};
+
 #endif
diff --git a/WebCore/kwq/kwq.h b/WebCore/kwq/kwq.h
index c2686b1..ed18c29 100644
--- a/WebCore/kwq/kwq.h
+++ b/WebCore/kwq/kwq.h
@@ -26,6 +26,9 @@
 #ifndef KWQDEF_H_
 #define KWQDEF_H_
 
+#include <qsize.h>
+#include <qcolor.h>
+
 typedef unsigned short ushort;
 typedef unsigned uint;
 
diff --git a/WebCore/kwq/qt/qapplication.h b/WebCore/kwq/qt/qapplication.h
index 94c9a02..e6ff0ed 100644
--- a/WebCore/kwq/qt/qapplication.h
+++ b/WebCore/kwq/qt/qapplication.h
@@ -26,4 +26,12 @@
 #ifndef QAPPLICATION_H_
 #define QAPPLICATION_H_
 
+#include "qpalette.h"
+#include "qwidget.h"
+
+class QApplication {
+public:
+	static QPalette palette(const QWidget* = 0);
+};
+
 #endif
diff --git a/WebCore/kwq/qt/qarray.h b/WebCore/kwq/qt/qarray.h
index b0ac862..69222e1 100644
--- a/WebCore/kwq/qt/qarray.h
+++ b/WebCore/kwq/qt/qarray.h
@@ -26,4 +26,7 @@
 #ifndef QARRAY_H_
 #define QARRAY_H_
 
+class QByteArray {
+};
+
 #endif
diff --git a/WebCore/kwq/qt/qbuffer.h b/WebCore/kwq/qt/qbuffer.h
index 489a9b7..0acd320 100644
--- a/WebCore/kwq/qt/qbuffer.h
+++ b/WebCore/kwq/qt/qbuffer.h
@@ -26,6 +26,7 @@
 #ifndef QBUFFER_H_
 #define QBUFFER_H_
 
-class QBuffer;
+class QBuffer {
+};
 
 #endif
diff --git a/WebCore/kwq/qt/qcolor.h b/WebCore/kwq/qt/qcolor.h
index 674ea5c..b7a2c8c 100644
--- a/WebCore/kwq/qt/qcolor.h
+++ b/WebCore/kwq/qt/qcolor.h
@@ -31,6 +31,10 @@ public:
     int red() const;
     int green() const;
     int blue() const;
+
+bool operator==(const QColor &x) const;
+bool operator!=(const QColor &x) const;
+
 };
 
 #endif
diff --git a/WebCore/kwq/qt/qcstring.h b/WebCore/kwq/qt/qcstring.h
index ebd4640..0b06d02 100644
--- a/WebCore/kwq/qt/qcstring.h
+++ b/WebCore/kwq/qt/qcstring.h
@@ -26,4 +26,6 @@
 #ifndef QCSTRING_H_
 #define QCSTRING_H_
 
+#include "qarray.h"
+
 #endif
diff --git a/WebCore/kwq/qt/qdatetime.h b/WebCore/kwq/qt/qdatetime.h
index a555917..ca8a604 100644
--- a/WebCore/kwq/qt/qdatetime.h
+++ b/WebCore/kwq/qt/qdatetime.h
@@ -29,4 +29,7 @@
 class QTime {
 };
 
+class QDateTime {
+};
+
 #endif
diff --git a/WebCore/kwq/qt/qdict.h b/WebCore/kwq/qt/qdict.h
index f1bee98..398f1fe 100644
--- a/WebCore/kwq/qt/qdict.h
+++ b/WebCore/kwq/qt/qdict.h
@@ -26,4 +26,7 @@
 #ifndef QDICT_H_
 #define QDICT_H_
 
+template <class T> class QDict {
+};
+
 #endif
diff --git a/WebCore/kwq/qt/qfont.h b/WebCore/kwq/qt/qfont.h
index 53a6bc1..bb0b35e 100644
--- a/WebCore/kwq/qt/qfont.h
+++ b/WebCore/kwq/qt/qfont.h
@@ -26,4 +26,10 @@
 #ifndef QFONT_H_
 #define QFONT_H_
 
+class QFont {
+public:
+	bool operator==(const QFont &x) const;
+	bool operator!=(const QFont &x) const;
+};
+
 #endif
diff --git a/WebCore/kwq/qt/qpalette.h b/WebCore/kwq/qt/qpalette.h
index 5d219a7..d0625c0 100644
--- a/WebCore/kwq/qt/qpalette.h
+++ b/WebCore/kwq/qt/qpalette.h
@@ -26,4 +26,16 @@
 #ifndef QPALETTE_H_
 #define QPALETTE_H_
 
+class QColorGroup {
+public:
+	enum ColorRole {};
+	void setColor(ColorRole role, const QColor &color);
+};
+
+class QPalette {
+public:
+	enum ColorGroup {};
+	void setColor(ColorGroup, QColorGroup::ColorRole role, const QColor &color);
+}; 
+
 #endif
diff --git a/WebCore/kwq/qt/qpixmap.h b/WebCore/kwq/qt/qpixmap.h
index 4523216..de669dc 100644
--- a/WebCore/kwq/qt/qpixmap.h
+++ b/WebCore/kwq/qt/qpixmap.h
@@ -26,6 +26,7 @@
 #ifndef QPIXMAP_H_
 #define QPIXMAP_H_
 
-class QPixmap;
+class QPixmap {
+};
 
 #endif
diff --git a/WebCore/kwq/qt/qptrdict.h b/WebCore/kwq/qt/qptrdict.h
index 64ec482..fc1bca7 100644
--- a/WebCore/kwq/qt/qptrdict.h
+++ b/WebCore/kwq/qt/qptrdict.h
@@ -26,4 +26,11 @@
 #ifndef QPTRDICT_H_
 #define QPTRDICT_H_
 
+template <class T> class QPtrDict {
+public:
+    uint count() const;
+    T *at(uint);
+    void append(const T *);
+};
+
 #endif
diff --git a/WebCore/kwq/qt/qscrollview.h b/WebCore/kwq/qt/qscrollview.h
index 99cfa91..e5a3007 100644
--- a/WebCore/kwq/qt/qscrollview.h
+++ b/WebCore/kwq/qt/qscrollview.h
@@ -26,4 +26,8 @@
 #ifndef QSCROLLVIEW_H_
 #define QSCROLLVIEW_H_
 
+class QScrollView {
+	typedef int ScrollBarMode;
+};
+
 #endif
diff --git a/WebCore/kwq/qt/qsize.h b/WebCore/kwq/qt/qsize.h
index a56ce23..10ab628 100644
--- a/WebCore/kwq/qt/qsize.h
+++ b/WebCore/kwq/qt/qsize.h
@@ -26,4 +26,7 @@
 #ifndef QSIZE_H_
 #define QSIZE_H_
 
+class QSize {
+};
+
 #endif
diff --git a/WebCore/kwq/qt/qstring.h b/WebCore/kwq/qt/qstring.h
index b7acef6..89eb309 100644
--- a/WebCore/kwq/qt/qstring.h
+++ b/WebCore/kwq/qt/qstring.h
@@ -29,6 +29,8 @@
 #include <kwq.h>
 #include <string.h>
 
+#include "qcstring.h"
+
 class QChar {
 public:
     QChar(char);
@@ -48,6 +50,7 @@ public:
     bool isNull() const;
     const QChar *unicode() const;
     uint length() const;
+    QString &sprintf(const char *format, ...);
 
     static const QString null;
 
diff --git a/WebCore/kwq/qt/qstringlist.h b/WebCore/kwq/qt/qstringlist.h
index 724ec01..7eed443 100644
--- a/WebCore/kwq/qt/qstringlist.h
+++ b/WebCore/kwq/qt/qstringlist.h
@@ -26,7 +26,11 @@
 #ifndef QSTRINGLIST_H_
 #define QSTRINGLIST_H_
 
-class QStringList {
+#include "qstring.h"
+#include "qvaluelist.h"
+
+class QStringList : public QValueList<QString> {
+	
 };
 
 #endif
diff --git a/WebCore/kwq/qt/qvaluelist.h b/WebCore/kwq/qt/qvaluelist.h
index d108e40..ef1df64 100644
--- a/WebCore/kwq/qt/qvaluelist.h
+++ b/WebCore/kwq/qt/qvaluelist.h
@@ -27,6 +27,9 @@
 #define QVALUELIST_H_
 
 template <class T> class QValueList {
+public:
+	void append(const T& x);
+	void remove(const T& x);
 };
 
 #endif
diff --git a/WebCore/kwq/qt/qwidget.h b/WebCore/kwq/qt/qwidget.h
index f5ca6a7..e65da34 100644
--- a/WebCore/kwq/qt/qwidget.h
+++ b/WebCore/kwq/qt/qwidget.h
@@ -26,4 +26,7 @@
 #ifndef QWIDGET_H_
 #define QWIDGET_H_
 
+class QWidget {
+};
+
 #endif
diff --git a/WebCore/kwq/qt/qxml.h b/WebCore/kwq/qt/qxml.h
index 81c4ae5..4f72b8c 100644
--- a/WebCore/kwq/qt/qxml.h
+++ b/WebCore/kwq/qt/qxml.h
@@ -26,4 +26,10 @@
 #ifndef QXML_H_
 #define QXML_H_
 
+class QXmlDefaultHandler {
+};
+
+class QXmlAttributes {
+};
+
 #endif
diff --git a/WebCore/src/kwq/kdecore/kurl.h b/WebCore/src/kwq/kdecore/kurl.h
index 831f088..a87579b 100644
--- a/WebCore/src/kwq/kdecore/kurl.h
+++ b/WebCore/src/kwq/kdecore/kurl.h
@@ -26,4 +26,7 @@
 #ifndef KURL_H_
 #define KURL_H_
 
+class KURL {
+};
+
 #endif
diff --git a/WebCore/src/kwq/kwq.h b/WebCore/src/kwq/kwq.h
index c2686b1..ed18c29 100644
--- a/WebCore/src/kwq/kwq.h
+++ b/WebCore/src/kwq/kwq.h
@@ -26,6 +26,9 @@
 #ifndef KWQDEF_H_
 #define KWQDEF_H_
 
+#include <qsize.h>
+#include <qcolor.h>
+
 typedef unsigned short ushort;
 typedef unsigned uint;
 
diff --git a/WebCore/src/kwq/qt/qapplication.h b/WebCore/src/kwq/qt/qapplication.h
index 94c9a02..e6ff0ed 100644
--- a/WebCore/src/kwq/qt/qapplication.h
+++ b/WebCore/src/kwq/qt/qapplication.h
@@ -26,4 +26,12 @@
 #ifndef QAPPLICATION_H_
 #define QAPPLICATION_H_
 
+#include "qpalette.h"
+#include "qwidget.h"
+
+class QApplication {
+public:
+	static QPalette palette(const QWidget* = 0);
+};
+
 #endif
diff --git a/WebCore/src/kwq/qt/qarray.h b/WebCore/src/kwq/qt/qarray.h
index b0ac862..69222e1 100644
--- a/WebCore/src/kwq/qt/qarray.h
+++ b/WebCore/src/kwq/qt/qarray.h
@@ -26,4 +26,7 @@
 #ifndef QARRAY_H_
 #define QARRAY_H_
 
+class QByteArray {
+};
+
 #endif
diff --git a/WebCore/src/kwq/qt/qbuffer.h b/WebCore/src/kwq/qt/qbuffer.h
index 489a9b7..0acd320 100644
--- a/WebCore/src/kwq/qt/qbuffer.h
+++ b/WebCore/src/kwq/qt/qbuffer.h
@@ -26,6 +26,7 @@
 #ifndef QBUFFER_H_
 #define QBUFFER_H_
 
-class QBuffer;
+class QBuffer {
+};
 
 #endif
diff --git a/WebCore/src/kwq/qt/qcolor.h b/WebCore/src/kwq/qt/qcolor.h
index 674ea5c..b7a2c8c 100644
--- a/WebCore/src/kwq/qt/qcolor.h
+++ b/WebCore/src/kwq/qt/qcolor.h
@@ -31,6 +31,10 @@ public:
     int red() const;
     int green() const;
     int blue() const;
+
+bool operator==(const QColor &x) const;
+bool operator!=(const QColor &x) const;
+
 };
 
 #endif
diff --git a/WebCore/src/kwq/qt/qcstring.h b/WebCore/src/kwq/qt/qcstring.h
index ebd4640..0b06d02 100644
--- a/WebCore/src/kwq/qt/qcstring.h
+++ b/WebCore/src/kwq/qt/qcstring.h
@@ -26,4 +26,6 @@
 #ifndef QCSTRING_H_
 #define QCSTRING_H_
 
+#include "qarray.h"
+
 #endif
diff --git a/WebCore/src/kwq/qt/qdatetime.h b/WebCore/src/kwq/qt/qdatetime.h
index a555917..ca8a604 100644
--- a/WebCore/src/kwq/qt/qdatetime.h
+++ b/WebCore/src/kwq/qt/qdatetime.h
@@ -29,4 +29,7 @@
 class QTime {
 };
 
+class QDateTime {
+};
+
 #endif
diff --git a/WebCore/src/kwq/qt/qdict.h b/WebCore/src/kwq/qt/qdict.h
index f1bee98..398f1fe 100644
--- a/WebCore/src/kwq/qt/qdict.h
+++ b/WebCore/src/kwq/qt/qdict.h
@@ -26,4 +26,7 @@
 #ifndef QDICT_H_
 #define QDICT_H_
 
+template <class T> class QDict {
+};
+
 #endif
diff --git a/WebCore/src/kwq/qt/qfont.h b/WebCore/src/kwq/qt/qfont.h
index 53a6bc1..bb0b35e 100644
--- a/WebCore/src/kwq/qt/qfont.h
+++ b/WebCore/src/kwq/qt/qfont.h
@@ -26,4 +26,10 @@
 #ifndef QFONT_H_
 #define QFONT_H_
 
+class QFont {
+public:
+	bool operator==(const QFont &x) const;
+	bool operator!=(const QFont &x) const;
+};
+
 #endif
diff --git a/WebCore/src/kwq/qt/qpalette.h b/WebCore/src/kwq/qt/qpalette.h
index 5d219a7..d0625c0 100644
--- a/WebCore/src/kwq/qt/qpalette.h
+++ b/WebCore/src/kwq/qt/qpalette.h
@@ -26,4 +26,16 @@
 #ifndef QPALETTE_H_
 #define QPALETTE_H_
 
+class QColorGroup {
+public:
+	enum ColorRole {};
+	void setColor(ColorRole role, const QColor &color);
+};
+
+class QPalette {
+public:
+	enum ColorGroup {};
+	void setColor(ColorGroup, QColorGroup::ColorRole role, const QColor &color);
+}; 
+
 #endif
diff --git a/WebCore/src/kwq/qt/qpixmap.h b/WebCore/src/kwq/qt/qpixmap.h
index 4523216..de669dc 100644
--- a/WebCore/src/kwq/qt/qpixmap.h
+++ b/WebCore/src/kwq/qt/qpixmap.h
@@ -26,6 +26,7 @@
 #ifndef QPIXMAP_H_
 #define QPIXMAP_H_
 
-class QPixmap;
+class QPixmap {
+};
 
 #endif
diff --git a/WebCore/src/kwq/qt/qptrdict.h b/WebCore/src/kwq/qt/qptrdict.h
index 64ec482..fc1bca7 100644
--- a/WebCore/src/kwq/qt/qptrdict.h
+++ b/WebCore/src/kwq/qt/qptrdict.h
@@ -26,4 +26,11 @@
 #ifndef QPTRDICT_H_
 #define QPTRDICT_H_
 
+template <class T> class QPtrDict {
+public:
+    uint count() const;
+    T *at(uint);
+    void append(const T *);
+};
+
 #endif
diff --git a/WebCore/src/kwq/qt/qscrollview.h b/WebCore/src/kwq/qt/qscrollview.h
index 99cfa91..e5a3007 100644
--- a/WebCore/src/kwq/qt/qscrollview.h
+++ b/WebCore/src/kwq/qt/qscrollview.h
@@ -26,4 +26,8 @@
 #ifndef QSCROLLVIEW_H_
 #define QSCROLLVIEW_H_
 
+class QScrollView {
+	typedef int ScrollBarMode;
+};
+
 #endif
diff --git a/WebCore/src/kwq/qt/qsize.h b/WebCore/src/kwq/qt/qsize.h
index a56ce23..10ab628 100644
--- a/WebCore/src/kwq/qt/qsize.h
+++ b/WebCore/src/kwq/qt/qsize.h
@@ -26,4 +26,7 @@
 #ifndef QSIZE_H_
 #define QSIZE_H_
 
+class QSize {
+};
+
 #endif
diff --git a/WebCore/src/kwq/qt/qstring.h b/WebCore/src/kwq/qt/qstring.h
index b7acef6..89eb309 100644
--- a/WebCore/src/kwq/qt/qstring.h
+++ b/WebCore/src/kwq/qt/qstring.h
@@ -29,6 +29,8 @@
 #include <kwq.h>
 #include <string.h>
 
+#include "qcstring.h"
+
 class QChar {
 public:
     QChar(char);
@@ -48,6 +50,7 @@ public:
     bool isNull() const;
     const QChar *unicode() const;
     uint length() const;
+    QString &sprintf(const char *format, ...);
 
     static const QString null;
 
diff --git a/WebCore/src/kwq/qt/qstringlist.h b/WebCore/src/kwq/qt/qstringlist.h
index 724ec01..7eed443 100644
--- a/WebCore/src/kwq/qt/qstringlist.h
+++ b/WebCore/src/kwq/qt/qstringlist.h
@@ -26,7 +26,11 @@
 #ifndef QSTRINGLIST_H_
 #define QSTRINGLIST_H_
 
-class QStringList {
+#include "qstring.h"
+#include "qvaluelist.h"
+
+class QStringList : public QValueList<QString> {
+	
 };
 
 #endif
diff --git a/WebCore/src/kwq/qt/qvaluelist.h b/WebCore/src/kwq/qt/qvaluelist.h
index d108e40..ef1df64 100644
--- a/WebCore/src/kwq/qt/qvaluelist.h
+++ b/WebCore/src/kwq/qt/qvaluelist.h
@@ -27,6 +27,9 @@
 #define QVALUELIST_H_
 
 template <class T> class QValueList {
+public:
+	void append(const T& x);
+	void remove(const T& x);
 };
 
 #endif
diff --git a/WebCore/src/kwq/qt/qwidget.h b/WebCore/src/kwq/qt/qwidget.h
index f5ca6a7..e65da34 100644
--- a/WebCore/src/kwq/qt/qwidget.h
+++ b/WebCore/src/kwq/qt/qwidget.h
@@ -26,4 +26,7 @@
 #ifndef QWIDGET_H_
 #define QWIDGET_H_
 
+class QWidget {
+};
+
 #endif
diff --git a/WebCore/src/kwq/qt/qxml.h b/WebCore/src/kwq/qt/qxml.h
index 81c4ae5..4f72b8c 100644
--- a/WebCore/src/kwq/qt/qxml.h
+++ b/WebCore/src/kwq/qt/qxml.h
@@ -26,4 +26,10 @@
 #ifndef QXML_H_
 #define QXML_H_
 
+class QXmlDefaultHandler {
+};
+
+class QXmlAttributes {
+};
+
 #endif

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list