[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:48:47 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit dd4c7c084d7ece2d868d9c77bc75d10c1326255f
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Oct 4 01:21:17 2001 +0000
New stubs for widgets.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/kwq/KWQColor.mm b/WebCore/kwq/KWQColor.mm
index 6089c85..03450ff 100644
--- a/WebCore/kwq/KWQColor.mm
+++ b/WebCore/kwq/KWQColor.mm
@@ -69,7 +69,7 @@ QColor::QColor(const char *)
{
if ( !globals_init )
initGlobalColors();
- NSLog (@"WARNING (NOT YET IMPLEMENTED) QColor::QColor(const char *)\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
@@ -103,13 +103,13 @@ QColor::QColor(const QColor ©From)
QString QColor::name() const
{
- NSLog (@"WARNING (NOT YET IMPLEMENTED) QString QColor::name() const\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QColor::setNamedColor(const QString&)
{
- NSLog (@"WARNING (NOT YET IMPLEMENTED) void QColor::setNamedColor(const QString&)\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
@@ -174,18 +174,18 @@ void QColor::setRgb(int rgb)
void QColor::hsv(int *, int *, int *) const
{
- NSLog (@"WARNING (NOT YET IMPLEMENTED) void QColor::hsv(int *, int *, int *) const\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
QColor QColor::light(int f = 150) const
{
- NSLog (@"WARNING (NOT YET IMPLEMENTED) QColor QColor::light(int f = 150) const\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
QColor QColor::dark(int f = 200) const
{
- NSLog (@"WARNING (NOT YET IMPLEMENTED) QColor QColor::dark(int f = 200) const\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
diff --git a/WebCore/kwq/KWQPalette.mm b/WebCore/kwq/KWQComboBox.mm
similarity index 75%
copy from WebCore/kwq/KWQPalette.mm
copy to WebCore/kwq/KWQComboBox.mm
index f3d2044..209ae59 100644
--- a/WebCore/kwq/KWQPalette.mm
+++ b/WebCore/kwq/KWQComboBox.mm
@@ -23,49 +23,55 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qpalette.h>
-QPalette::QPalette()
+#include <qcombobox.h>
+
+
+QComboBox::QComboBox(QWidget *parent=0, const char *name=0)
{
}
-QPalette::QPalette(const QPalette &)
+QComboBox::QComboBox(bool rw, QWidget *parent=0, const char *name=0)
{
}
-
-QPalette::~QPalette()
+QComboBox::~QComboBox()
{
}
-void QPalette::setColor(ColorGroup, QColorGroup::ColorRole role, const QColor &color)
+int QComboBox::count() const
{
}
-const QColorGroup &QPalette::active() const
+QListBox *QComboBox::listBox() const
{
}
-const QColorGroup &QPalette::inactive() const
+void QComboBox::popup()
{
}
-const QColorGroup &QPalette::disabled() const
+bool QComboBox::eventFilter(QObject *object, QEvent *event)
{
}
-const QColorGroup &QPalette::normal() const
+void QComboBox::insertItem(const QString &text, int index=-1)
{
}
-QPalette &QPalette::operator=(const QPalette &)
+void QComboBox::clear()
{
}
+void QComboBox::setCurrentItem(int)
+{
+}
+
+
diff --git a/WebCore/kwq/KWQPalette.mm b/WebCore/kwq/KWQFrame.mm
similarity index 70%
copy from WebCore/kwq/KWQPalette.mm
copy to WebCore/kwq/KWQFrame.mm
index f3d2044..0be18a7 100644
--- a/WebCore/kwq/KWQPalette.mm
+++ b/WebCore/kwq/KWQFrame.mm
@@ -22,50 +22,38 @@
* (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 <KWQFrame.h>
-#include <qpalette.h>
-
-QPalette::QPalette()
-{
-}
-
-
-QPalette::QPalette(const QPalette &)
-{
-}
-
-
-QPalette::~QPalette()
-{
-}
-
-
-void QPalette::setColor(ColorGroup, QColorGroup::ColorRole role, const QColor &color)
+QFrame::QFrame()
{
}
-const QColorGroup &QPalette::active() const
+QFrame::QFrame(QWidget *parent)
{
}
-const QColorGroup &QPalette::inactive() const
+void QFrame::setFrameStyle(int)
{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
-const QColorGroup &QPalette::disabled() const
+int QFrame::frameWidth() const
{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
-const QColorGroup &QPalette::normal() const
+QFrame::QFrame(const QFrame &)
{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
-QPalette &QPalette::operator=(const QPalette &)
+QFrame &QFrame::operator=(const QFrame &)
{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
diff --git a/WebCore/kwq/KWQCursor.mm b/WebCore/kwq/KWQKComboBox.mm
similarity index 89%
copy from WebCore/kwq/KWQCursor.mm
copy to WebCore/kwq/KWQKComboBox.mm
index 89a487c..bb0ff05 100644
--- a/WebCore/kwq/KWQCursor.mm
+++ b/WebCore/kwq/KWQKComboBox.mm
@@ -23,23 +23,16 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qcursor.h>
-
-QCursor::QCursor()
-{
-}
+#include <kcombobox.h>
-QCursor::QCursor(const QCursor &)
+KComboBox::KComboBox(QWidget *parent=0, const char *name=0)
{
}
-QCursor::~QCursor()
+KComboBox::KComboBox(bool rw, QWidget *parent=0, const char *name=0)
{
}
-
-QCursor &QCursor::operator=(const QCursor &)
-{
-}
+
diff --git a/WebCore/src/kwq/KWQPaintDevice.mm b/WebCore/kwq/KWQKCompletionBox.mm
similarity index 95%
copy from WebCore/src/kwq/KWQPaintDevice.mm
copy to WebCore/kwq/KWQKCompletionBox.mm
index c2bd48c..bd1d113 100644
--- a/WebCore/src/kwq/KWQPaintDevice.mm
+++ b/WebCore/kwq/KWQKCompletionBox.mm
@@ -22,10 +22,10 @@
* (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 <qpaintdevice.h>
-
-QPaintDevice::~QPaintDevice()
+#include <kcompletionbox.h>
+
+KCompletionBox::KCompletionBox()
{
}
diff --git a/WebCore/kwq/KWQCursor.mm b/WebCore/kwq/KWQKCursor.mm
similarity index 76%
copy from WebCore/kwq/KWQCursor.mm
copy to WebCore/kwq/KWQKCursor.mm
index 89a487c..9f093c0 100644
--- a/WebCore/kwq/KWQCursor.mm
+++ b/WebCore/kwq/KWQKCursor.mm
@@ -23,23 +23,22 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qcursor.h>
+#include <kcursor.h>
-QCursor::QCursor()
-{
-}
+void KCursor::setAutoHideCursor(QWidget *w, bool enable) {}
+QCursor KCursor::arrowCursor() {}
+QCursor KCursor::crossCursor() {}
+QCursor KCursor::sizeAllCursor() {}
+QCursor KCursor::sizeHorCursor() {}
+QCursor KCursor::sizeVerCursor() {}
+QCursor KCursor::sizeBDiagCursor() {}
+QCursor KCursor::sizeFDiagCursor() {}
+QCursor KCursor::ibeamCursor() {}
+QCursor KCursor::waitCursor() {}
-QCursor::QCursor(const QCursor &)
-{
-}
-
-QCursor::~QCursor()
+KCursor::KCursor()
{
}
-
-QCursor &QCursor::operator=(const QCursor &)
-{
-}
diff --git a/WebCore/src/kwq/KWQCursor.mm b/WebCore/kwq/KWQKLineEdit.mm
similarity index 85%
copy from WebCore/src/kwq/KWQCursor.mm
copy to WebCore/kwq/KWQKLineEdit.mm
index 89a487c..b346213 100644
--- a/WebCore/src/kwq/KWQCursor.mm
+++ b/WebCore/kwq/KWQKLineEdit.mm
@@ -23,23 +23,26 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qcursor.h>
-QCursor::QCursor()
+#include <klineedit.h>
+
+
+KLineEdit::KLineEdit(QWidget *parent=0, const char *name=0)
{
}
-QCursor::QCursor(const QCursor &)
+void KLineEdit::setMouseTracking(bool)
{
}
-QCursor::~QCursor()
+void KLineEdit::setContextMenuEnabled(bool showMenu)
{
}
-
-QCursor &QCursor::operator=(const QCursor &)
+
+KCompletionBox *KLineEdit::completionBox(bool create)
{
}
+
diff --git a/WebCore/kwq/KWQPalette.mm b/WebCore/kwq/KWQKMessageBox.mm
similarity index 67%
copy from WebCore/kwq/KWQPalette.mm
copy to WebCore/kwq/KWQKMessageBox.mm
index f3d2044..854a73b 100644
--- a/WebCore/kwq/KWQPalette.mm
+++ b/WebCore/kwq/KWQKMessageBox.mm
@@ -23,49 +23,36 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qpalette.h>
+#include <kmessagebox.h>
-QPalette::QPalette()
+void KMessageBox::error(QWidget *, const QString &,
+ const QString &caption=QString::null, bool notify=true)
{
}
-QPalette::QPalette(const QPalette &)
+int KMessageBox::warningYesNo(QWidget *, const QString &,
+ const QString &caption=QString::null,
+ const QString &buttonYes=QString::null,
+ const QString &buttonNo=QString::null,
+ bool notify=true)
{
}
-QPalette::~QPalette()
+int KMessageBox::questionYesNo(QWidget *, const QString &,
+ const QString &caption=QString::null,
+ const QString &buttonYes=QString::null,
+ const QString &buttonNo=QString::null, bool notify=true)
{
}
-void QPalette::setColor(ColorGroup, QColorGroup::ColorRole role, const QColor &color)
+void KMessageBox::sorry(QWidget *, const QString &,
+ const QString &caption=QString::null, bool notify=true)
{
}
-const QColorGroup &QPalette::active() const
-{
-}
-
-const QColorGroup &QPalette::inactive() const
-{
-}
-
-
-const QColorGroup &QPalette::disabled() const
-{
-}
-
-
-const QColorGroup &QPalette::normal() const
-{
-}
-
-
-QPalette &QPalette::operator=(const QPalette &)
-{
-}
diff --git a/WebCore/kwq/KWQPalette.mm b/WebCore/kwq/KWQLineEdit.mm
similarity index 69%
copy from WebCore/kwq/KWQPalette.mm
copy to WebCore/kwq/KWQLineEdit.mm
index f3d2044..1e989be 100644
--- a/WebCore/kwq/KWQPalette.mm
+++ b/WebCore/kwq/KWQLineEdit.mm
@@ -23,49 +23,76 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qpalette.h>
+#include <qlineedit.h>
-QPalette::QPalette()
+QLineEdit::QLineEdit(QWidget *parent=0, const char *name=0)
{
}
+QLineEdit::~QLineEdit()
+{
+}
+
+void QLineEdit::setEchoMode(EchoMode)
+{
+}
+
+void QLineEdit::setCursorPosition(int)
+{
+}
+
+
+void QLineEdit::setText(const QString &)
+{
+}
+
+
+void QLineEdit::setMaxLength(int)
+{
+}
-QPalette::QPalette(const QPalette &)
+
+bool QLineEdit::isReadOnly() const
{
}
-QPalette::~QPalette()
+void QLineEdit::setReadOnly(bool)
{
}
-void QPalette::setColor(ColorGroup, QColorGroup::ColorRole role, const QColor &color)
+bool QLineEdit::event(QEvent *)
{
}
-const QColorGroup &QPalette::active() const
+bool QLineEdit::frame() const
{
}
-const QColorGroup &QPalette::inactive() const
+int QLineEdit::cursorPosition() const
{
}
-const QColorGroup &QPalette::disabled() const
+int QLineEdit::maxLength() const
{
}
-const QColorGroup &QPalette::normal() const
+void QLineEdit::selectAll()
{
}
-QPalette &QPalette::operator=(const QPalette &)
+QLineEdit::QLineEdit(const QLineEdit &)
{
}
+QLineEdit &QLineEdit::operator=(const QLineEdit &)
+{
+}
+
+
diff --git a/WebCore/src/kwq/KWQColorGroup.mm b/WebCore/kwq/KWQListBox.mm
similarity index 59%
copy from WebCore/src/kwq/KWQColorGroup.mm
copy to WebCore/kwq/KWQListBox.mm
index 438ae21..e7ea8d6 100644
--- a/WebCore/src/kwq/KWQColorGroup.mm
+++ b/WebCore/kwq/KWQListBox.mm
@@ -23,86 +23,110 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qpalette.h>
-#include <qcolor.h>
+#include <KWQListBox.h>
-QColorGroup::QColorGroup()
+
+QListBox::QListBox()
+{
+}
+
+
+QListBox::~QListBox()
{
}
-QColorGroup::QColorGroup(const QColorGroup &)
+uint QListBox::count() const
{
}
-QColorGroup::~QColorGroup()
+void QListBox::clear()
{
}
-const QColor &color(QColorGroup::ColorRole cr)
+void QListBox::setSelectionMode(SelectionMode)
{
}
-void setColor(QColorGroup::ColorRole cr, const QColor &)
+QListBoxItem *QListBox::firstItem() const
{
}
-const QColor &QColorGroup::foreground() const
+int QListBox::currentItem() const
{
}
-const QColor &QColorGroup::shadow() const
+void QListBox::insertItem(const QString &, int index=-1)
{
}
-const QColor &QColorGroup::light() const
+void QListBox::insertItem(const QListBoxItem *, int index=-1)
{
}
-const QColor &QColorGroup::midlight() const
+void QListBox::setSelected(int, bool)
{
}
-const QColor &QColorGroup::dark() const
+bool QListBox::isSelected(int)
+{
+}
+
+
+// class QListBoxItem ==========================================================
+
+QListBoxItem::QListBoxItem()
{
}
-const QColor &QColorGroup::base() const
+void QListBoxItem::setSelectable(bool)
{
}
-const QColor &QColorGroup::buttonText() const
+QListBox *QListBoxItem::listBox() const
{
}
-const QColor &QColorGroup::button() const
+int QListBoxItem::width(const QListBox *) const
{
}
-const QColor &QColorGroup::text() const
+int QListBoxItem::height(const QListBox *) const
{
}
-const QColor &QColorGroup::background() const
+QListBoxItem *QListBoxItem::next() const
{
}
-QColorGroup &QColorGroup::operator=(const QColorGroup &)
+QListBoxItem *QListBoxItem::prev() const
{
}
+
+// class QListBoxText ==========================================================
+
+QListBoxText::QListBoxText(const QString &text=QString::null)
+{
+}
+
+
+QListBoxText::~QListBoxText()
+{
+}
+
diff --git a/WebCore/kwq/KWQObject.mm b/WebCore/kwq/KWQObject.mm
index fbb7535..b0a144a 100644
--- a/WebCore/kwq/KWQObject.mm
+++ b/WebCore/kwq/KWQObject.mm
@@ -28,26 +28,26 @@
bool QObject::connect(const QObject *, const char *, const QObject *,
const char *)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) bool QObject::connect\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
bool QObject::disconnect( const QObject *, const char *, const QObject *,
const char *)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) bool QObject::disconnect\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
QObject::QObject(QObject *parent=0, const char *name=0)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) QObject::QObject(QObject *parent=0, const char *name=0)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
QObject::~QObject()
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) QObject::~QObject()\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
@@ -55,13 +55,13 @@ QObject::~QObject()
const char *QObject::name() const
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) const char *QObject::name() const\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QObject::setName(const char *)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QObject::setName(const char *)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
#ifdef DO_QVARIANT
@@ -72,48 +72,48 @@ QVariant QObject::property(const char *name) const
bool QObject::inherits(const char *) const
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) bool QObject::inherits(const char *) const\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
bool QObject::connect(const QObject *, const char *, const char *) const
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) bool QObject::connect(const QObject *, const char *, const char *) const\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
int QObject:: startTimer(int)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) int QObject:: startTimer(int)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QObject::killTimer(int)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QObject::killTimer(int)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QObject::killTimers()
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QObject::killTimers()\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QObject::installEventFilter(const QObject *)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QObject::installEventFilter(const QObject *)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QObject::removeEventFilter(const QObject *)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QObject::removeEventFilter(const QObject *)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QObject::blockSignals(bool)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QObject::blockSignals(bool)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
diff --git a/WebCore/kwq/KWQPainter.mm b/WebCore/kwq/KWQPainter.mm
index a468931..f2d4861 100644
--- a/WebCore/kwq/KWQPainter.mm
+++ b/WebCore/kwq/KWQPainter.mm
@@ -50,7 +50,7 @@ QPainter::QPainter()
QPainter::QPainter(const QPaintDevice *pdev)
{
- NSLog (@"ERROR (NOT IMPLEMENTED) QPainter::QPainter(const QPaintDevice *)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
@@ -467,25 +467,25 @@ void QPainter::fillRect(int x, int y, int w, int h, const QBrush &brush)
void QPainter::setClipping(bool)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QPainter::setClipping(bool)\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QPainter::setClipRegion(const QRegion &)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QPainter::setClipRegion(const QRegion &)\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
const QRegion &QPainter::clipRegion() const
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) const QRegion &QPainter::clipRegion() const\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
bool QPainter::hasClipping() const
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) bool QPainter::hasClipping() const\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
@@ -498,7 +498,7 @@ Qt::RasterOp QPainter::rasterOp() const
return XorROP;
return CopyROP;
#else
- NSLog (@"ERROR (NOT IMPLEMENTED) QPainter::RasterOp QPainter::rasterOp() const\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
#endif
}
@@ -513,10 +513,39 @@ void QPainter::setRasterOp(RasterOp op)
else
data->compositingOperation = NSCompositeCopy;
#else
- NSLog (@"ERROR (NOT IMPLEMENTED) void QPainter::setRasterOp(RasterOp op)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
#endif
}
+void QPainter::translate(double dx, double dy)
+{
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QPainter::scale(double dx, double dy)
+{
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+bool QPainter::begin(const QPaintDevice *)
+{
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+bool QPainter::end()
+{
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+QPaintDevice *QPainter::device() const
+{
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
void QPainter::_lockFocus(){
if (data->isFocusLocked == 0){
[data->widget->getView() lockFocus];
diff --git a/WebCore/kwq/KWQPixmap.mm b/WebCore/kwq/KWQPixmap.mm
index 37b3357..4109c53 100644
--- a/WebCore/kwq/KWQPixmap.mm
+++ b/WebCore/kwq/KWQPixmap.mm
@@ -73,13 +73,13 @@ QPixmap::~QPixmap()
void QPixmap::setMask(const QBitmap &)
{
- NSLog (@"ERROR (NOT IMPLEMENTED) void QPixmap::setMask(const QBitmap &) Not needed?\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
const QBitmap *QPixmap::mask() const
{
- NSLog (@"ERROR (NOT IMPLEMENTED) const QBitmap *QPixmap::mask() const Not needed?\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
@@ -133,7 +133,7 @@ QPixmap QPixmap::xForm(const QWMatrix &xmatrix) const
QImage QPixmap::convertToImage() const
{
- NSLog (@"ERROR (NOT IMPLEMENTED) QImage QPixmap::convertToImage() This method should never be called. It is only used by Qt drag and drop (I think!)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
diff --git a/WebCore/kwq/KWQScrollView.mm b/WebCore/kwq/KWQScrollView.mm
new file mode 100644
index 0000000..6f390d2
--- /dev/null
+++ b/WebCore/kwq/KWQScrollView.mm
@@ -0,0 +1,180 @@
+/*
+ * 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 <qscrollview.h>
+
+QScrollView::QScrollView(QWidget *parent=0, const char *name=0, WFlags f=0)
+{
+}
+
+
+QScrollView::~QScrollView()
+{
+}
+
+
+QWidget* QScrollView::viewport() const
+{
+}
+
+
+int QScrollView::visibleWidth() const
+{
+}
+
+
+int QScrollView::visibleHeight() const
+{
+}
+
+
+int QScrollView::contentsWidth() const
+{
+}
+
+
+int QScrollView::contentsHeight() const
+{
+}
+
+
+int QScrollView::contentsX() const
+{
+}
+
+
+int QScrollView::contentsY() const
+{
+}
+
+
+void QScrollView::scrollBy(int dx, int dy)
+{
+}
+
+
+void QScrollView::setContentsPos(int x, int y)
+{
+}
+
+
+QScrollBar *QScrollView::horizontalScrollBar() const
+{
+}
+
+
+QScrollBar *QScrollView::verticalScrollBar() const
+{
+}
+
+
+void QScrollView::setVScrollBarMode(ScrollBarMode)
+{
+}
+
+
+void QScrollView::setHScrollBarMode(ScrollBarMode)
+{
+}
+
+
+void QScrollView::addChild(QWidget* child, int x=0, int y=0)
+{
+}
+
+
+void QScrollView::removeChild(QWidget* child)
+{
+}
+
+
+void QScrollView::resizeContents(int w, int h)
+{
+}
+
+
+void QScrollView::updateContents(int x, int y, int w, int h)
+{
+}
+
+
+void QScrollView::repaintContents(int x, int y, int w, int h, bool erase=TRUE)
+{
+}
+
+QPoint QScrollView::contentsToViewport(const QPoint &)
+{
+}
+
+
+void QScrollView::viewportToContents(int vx, int vy, int& x, int& y)
+{
+}
+
+
+void QScrollView::viewportWheelEvent(QWheelEvent *)
+{
+}
+
+
+QWidget *QScrollView::clipper() const
+{
+}
+
+
+void QScrollView::enableClipper(bool)
+{
+}
+
+
+void QScrollView::setStaticBackground(bool)
+{
+}
+
+
+void QScrollView::resizeEvent(QResizeEvent *)
+{
+}
+
+
+void QScrollView::ensureVisible(int,int)
+{
+}
+
+
+void QScrollView::ensureVisible(int,int,int,int)
+{
+}
+
+
+QScrollView::QScrollView(const QScrollView &)
+{
+}
+
+
+QScrollView &QScrollView::operator=(const QScrollView &)
+{
+}
+
diff --git a/WebCore/src/kwq/KWQColorGroup.mm b/WebCore/kwq/KWQTextEdit.mm
similarity index 59%
copy from WebCore/src/kwq/KWQColorGroup.mm
copy to WebCore/kwq/KWQTextEdit.mm
index 438ae21..04a4164 100644
--- a/WebCore/src/kwq/KWQColorGroup.mm
+++ b/WebCore/kwq/KWQTextEdit.mm
@@ -23,85 +23,120 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qpalette.h>
-#include <qcolor.h>
+#include <keditcl.h>
-QColorGroup::QColorGroup()
+
+QTableView::QTableView()
+{
+}
+
+
+QTableView::~QTableView()
+{
+}
+
+
+QScrollBar *QTableView::verticalScrollBar() const
+{
+}
+
+
+QScrollBar *QTableView::horizontalScrollBar() const
+{
+}
+
+
+void QTableView::setTableFlags(uint)
+{
+}
+
+
+void QTableView::clearTableFlags(uint f = ~0)
+{
+}
+
+
+QMultiLineEdit::QMultiLineEdit()
+{
+}
+
+
+QMultiLineEdit::~QMultiLineEdit()
{
}
-QColorGroup::QColorGroup(const QColorGroup &)
+void QMultiLineEdit::setWordWrap(WordWrap)
{
}
-QColorGroup::~QColorGroup()
+QMultiLineEdit::WordWrap QMultiLineEdit::wordWrap() const
{
}
-const QColor &color(QColorGroup::ColorRole cr)
+bool QMultiLineEdit::hasMarkedText() const
{
}
-void setColor(QColorGroup::ColorRole cr, const QColor &)
+bool QMultiLineEdit::isReadOnly() const
{
}
-const QColor &QColorGroup::foreground() const
+void QMultiLineEdit::setReadOnly(bool)
{
}
-const QColor &QColorGroup::shadow() const
+void QMultiLineEdit::setCursorPosition(int line, int col, bool mark = FALSE)
{
}
-const QColor &QColorGroup::light() const
+void QMultiLineEdit::getCursorPosition(int *line, int *col) const
{
}
-const QColor &QColorGroup::midlight() const
+void QMultiLineEdit::setText(const QString &)
{
}
-const QColor &QColorGroup::dark() const
+QString QMultiLineEdit::text()
{
}
-const QColor &QColorGroup::base() const
+QString QMultiLineEdit::textLine(int line) const
{
}
-const QColor &QColorGroup::buttonText() const
+int QMultiLineEdit::numLines() const
{
}
-const QColor &QColorGroup::button() const
+void QMultiLineEdit::selectAll()
{
}
-const QColor &QColorGroup::text() const
+KEdit::KEdit()
{
}
-const QColor &QColorGroup::background() const
+KEdit::KEdit(QWidget *)
{
}
-QColorGroup &QColorGroup::operator=(const QColorGroup &)
+KEdit::~KEdit()
{
}
diff --git a/WebCore/kwq/KWQWidget.mm b/WebCore/kwq/KWQWidget.mm
index f7a17d4..c613da8 100644
--- a/WebCore/kwq/KWQWidget.mm
+++ b/WebCore/kwq/KWQWidget.mm
@@ -288,7 +288,7 @@ QSize QWidget::minimumSizeHint() const
// Used by embedded java (KJavaEmbed::sizeHint(). Will be replaced.
// Used by RenderSubmitButton::calcMinMaxWidth(), where it is called
// on a button widget. Will be replaced.
- NSLog (@"ERROR: QWidget::minimumSizeHint() called. Should never be called.\n", nil);
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
return QSize (0,0);
}
@@ -301,7 +301,7 @@ bool QWidget::isVisible() const
void QWidget::setCursor(const QCursor &cur)
{
- NSLog (@"WARNING(UNIMPLEMENTED): QWidget::setCursor()\n", nil);
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
if (data->cursor)
delete data->cursor;
data->cursor = new QCursor (cur);
@@ -312,21 +312,21 @@ bool QWidget::event(QEvent *)
{
// This will eventually not be called, or called from our implementation
// of run loop, or something???
- NSLog (@"WARNING(UNIMPLEMENTED): QWidget::event(QEvent *)\n", nil);
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
return TRUE;
}
bool QWidget::focusNextPrevChild(bool)
{
- NSLog (@"WARNING(UNIMPLEMENTED): QWidget::focusNextPrevChild()\n", nil);
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
return TRUE;
}
bool QWidget::hasMouseTracking() const
{
- NSLog (@"WARNING(UNIMPLEMENTED): QWidget::hasMouseTracking()\n", nil);
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
return true;
}
@@ -380,6 +380,54 @@ void QWidget::internalSetGeometry( int x, int y, int w, int h, bool isMove )
[data->view setFrame: NSMakeRect (data->rect.x(), data->rect.y(), data->rect.width(), data->rect.height())];
}
+void QWidget::showEvent(QShowEvent *)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QWidget::hideEvent(QHideEvent *)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QWidget::wheelEvent(QWheelEvent *)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QWidget::keyPressEvent(QKeyEvent *)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QWidget::keyReleaseEvent(QKeyEvent *)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QWidget::focusOutEvent(QFocusEvent *)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QWidget::setBackgroundMode(BackgroundMode)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QWidget::setAcceptDrops(bool)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
#ifdef _KWQ_
void QWidget::paint (void *)
diff --git a/WebCore/kwq/Makefile.in b/WebCore/kwq/Makefile.in
index cabd01c..1afdcf6 100644
--- a/WebCore/kwq/Makefile.in
+++ b/WebCore/kwq/Makefile.in
@@ -27,10 +27,19 @@ MMOBJECTS = \
KWQBrush.o \
KWQColor.o \
KWQColorGroup.o \
+ KWQComboBox.o \
KWQCursor.o \
KWQFont.o \
KWQFontMetrics.o \
+ KWQFrame.o \
KWQKHTMLPart.o \
+ KWQKComboBox.o \
+ KWQKCompletionBox.o \
+ KWQKCursor.o \
+ KWQKLineEdit.o \
+ KWQKMessageBox.o \
+ KWQListBox.o \
+ KWQLineEdit.o \
KWQObject.o \
KWQPainter.o \
KWQPaintDevice.o \
@@ -39,6 +48,8 @@ MMOBJECTS = \
KWQPen.o \
KWQPixmap.o \
KWQPointArray.o \
+ KWQScrollView.o \
+ KWQTextEdit.o \
KWQView.o \
KWQWMatrix.o \
KWQWidget.o \
@@ -69,6 +80,7 @@ CMMFLAGS = $(BASECMMFLAGS) \
-I$(TOPSRCDIR)/src/kwq/qt \
-I$(TOPSRCDIR)/src/kwq/kde \
-I$(TOPSRCDIR)/src/kwq/kdecore \
+ -I$(TOPSRCDIR)/src/kwq/kdeui \
-I. \
$(NULL)
diff --git a/WebCore/src/kwq/KWQColor.mm b/WebCore/src/kwq/KWQColor.mm
index 6089c85..03450ff 100644
--- a/WebCore/src/kwq/KWQColor.mm
+++ b/WebCore/src/kwq/KWQColor.mm
@@ -69,7 +69,7 @@ QColor::QColor(const char *)
{
if ( !globals_init )
initGlobalColors();
- NSLog (@"WARNING (NOT YET IMPLEMENTED) QColor::QColor(const char *)\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
@@ -103,13 +103,13 @@ QColor::QColor(const QColor ©From)
QString QColor::name() const
{
- NSLog (@"WARNING (NOT YET IMPLEMENTED) QString QColor::name() const\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QColor::setNamedColor(const QString&)
{
- NSLog (@"WARNING (NOT YET IMPLEMENTED) void QColor::setNamedColor(const QString&)\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
@@ -174,18 +174,18 @@ void QColor::setRgb(int rgb)
void QColor::hsv(int *, int *, int *) const
{
- NSLog (@"WARNING (NOT YET IMPLEMENTED) void QColor::hsv(int *, int *, int *) const\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
QColor QColor::light(int f = 150) const
{
- NSLog (@"WARNING (NOT YET IMPLEMENTED) QColor QColor::light(int f = 150) const\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
QColor QColor::dark(int f = 200) const
{
- NSLog (@"WARNING (NOT YET IMPLEMENTED) QColor QColor::dark(int f = 200) const\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
diff --git a/WebCore/kwq/KWQPalette.mm b/WebCore/src/kwq/KWQComboBox.mm
similarity index 75%
copy from WebCore/kwq/KWQPalette.mm
copy to WebCore/src/kwq/KWQComboBox.mm
index f3d2044..209ae59 100644
--- a/WebCore/kwq/KWQPalette.mm
+++ b/WebCore/src/kwq/KWQComboBox.mm
@@ -23,49 +23,55 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qpalette.h>
-QPalette::QPalette()
+#include <qcombobox.h>
+
+
+QComboBox::QComboBox(QWidget *parent=0, const char *name=0)
{
}
-QPalette::QPalette(const QPalette &)
+QComboBox::QComboBox(bool rw, QWidget *parent=0, const char *name=0)
{
}
-
-QPalette::~QPalette()
+QComboBox::~QComboBox()
{
}
-void QPalette::setColor(ColorGroup, QColorGroup::ColorRole role, const QColor &color)
+int QComboBox::count() const
{
}
-const QColorGroup &QPalette::active() const
+QListBox *QComboBox::listBox() const
{
}
-const QColorGroup &QPalette::inactive() const
+void QComboBox::popup()
{
}
-const QColorGroup &QPalette::disabled() const
+bool QComboBox::eventFilter(QObject *object, QEvent *event)
{
}
-const QColorGroup &QPalette::normal() const
+void QComboBox::insertItem(const QString &text, int index=-1)
{
}
-QPalette &QPalette::operator=(const QPalette &)
+void QComboBox::clear()
{
}
+void QComboBox::setCurrentItem(int)
+{
+}
+
+
diff --git a/WebCore/kwq/KWQPalette.mm b/WebCore/src/kwq/KWQFrame.mm
similarity index 70%
copy from WebCore/kwq/KWQPalette.mm
copy to WebCore/src/kwq/KWQFrame.mm
index f3d2044..0be18a7 100644
--- a/WebCore/kwq/KWQPalette.mm
+++ b/WebCore/src/kwq/KWQFrame.mm
@@ -22,50 +22,38 @@
* (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 <KWQFrame.h>
-#include <qpalette.h>
-
-QPalette::QPalette()
-{
-}
-
-
-QPalette::QPalette(const QPalette &)
-{
-}
-
-
-QPalette::~QPalette()
-{
-}
-
-
-void QPalette::setColor(ColorGroup, QColorGroup::ColorRole role, const QColor &color)
+QFrame::QFrame()
{
}
-const QColorGroup &QPalette::active() const
+QFrame::QFrame(QWidget *parent)
{
}
-const QColorGroup &QPalette::inactive() const
+void QFrame::setFrameStyle(int)
{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
-const QColorGroup &QPalette::disabled() const
+int QFrame::frameWidth() const
{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
-const QColorGroup &QPalette::normal() const
+QFrame::QFrame(const QFrame &)
{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
-QPalette &QPalette::operator=(const QPalette &)
+QFrame &QFrame::operator=(const QFrame &)
{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
diff --git a/WebCore/kwq/KWQCursor.mm b/WebCore/src/kwq/KWQKComboBox.mm
similarity index 89%
copy from WebCore/kwq/KWQCursor.mm
copy to WebCore/src/kwq/KWQKComboBox.mm
index 89a487c..bb0ff05 100644
--- a/WebCore/kwq/KWQCursor.mm
+++ b/WebCore/src/kwq/KWQKComboBox.mm
@@ -23,23 +23,16 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qcursor.h>
-
-QCursor::QCursor()
-{
-}
+#include <kcombobox.h>
-QCursor::QCursor(const QCursor &)
+KComboBox::KComboBox(QWidget *parent=0, const char *name=0)
{
}
-QCursor::~QCursor()
+KComboBox::KComboBox(bool rw, QWidget *parent=0, const char *name=0)
{
}
-
-QCursor &QCursor::operator=(const QCursor &)
-{
-}
+
diff --git a/WebCore/src/kwq/KWQPaintDevice.mm b/WebCore/src/kwq/KWQKCompletionBox.mm
similarity index 95%
copy from WebCore/src/kwq/KWQPaintDevice.mm
copy to WebCore/src/kwq/KWQKCompletionBox.mm
index c2bd48c..bd1d113 100644
--- a/WebCore/src/kwq/KWQPaintDevice.mm
+++ b/WebCore/src/kwq/KWQKCompletionBox.mm
@@ -22,10 +22,10 @@
* (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 <qpaintdevice.h>
-
-QPaintDevice::~QPaintDevice()
+#include <kcompletionbox.h>
+
+KCompletionBox::KCompletionBox()
{
}
diff --git a/WebCore/kwq/KWQCursor.mm b/WebCore/src/kwq/KWQKCursor.mm
similarity index 76%
copy from WebCore/kwq/KWQCursor.mm
copy to WebCore/src/kwq/KWQKCursor.mm
index 89a487c..9f093c0 100644
--- a/WebCore/kwq/KWQCursor.mm
+++ b/WebCore/src/kwq/KWQKCursor.mm
@@ -23,23 +23,22 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qcursor.h>
+#include <kcursor.h>
-QCursor::QCursor()
-{
-}
+void KCursor::setAutoHideCursor(QWidget *w, bool enable) {}
+QCursor KCursor::arrowCursor() {}
+QCursor KCursor::crossCursor() {}
+QCursor KCursor::sizeAllCursor() {}
+QCursor KCursor::sizeHorCursor() {}
+QCursor KCursor::sizeVerCursor() {}
+QCursor KCursor::sizeBDiagCursor() {}
+QCursor KCursor::sizeFDiagCursor() {}
+QCursor KCursor::ibeamCursor() {}
+QCursor KCursor::waitCursor() {}
-QCursor::QCursor(const QCursor &)
-{
-}
-
-QCursor::~QCursor()
+KCursor::KCursor()
{
}
-
-QCursor &QCursor::operator=(const QCursor &)
-{
-}
diff --git a/WebCore/src/kwq/KWQCursor.mm b/WebCore/src/kwq/KWQKLineEdit.mm
similarity index 85%
copy from WebCore/src/kwq/KWQCursor.mm
copy to WebCore/src/kwq/KWQKLineEdit.mm
index 89a487c..b346213 100644
--- a/WebCore/src/kwq/KWQCursor.mm
+++ b/WebCore/src/kwq/KWQKLineEdit.mm
@@ -23,23 +23,26 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qcursor.h>
-QCursor::QCursor()
+#include <klineedit.h>
+
+
+KLineEdit::KLineEdit(QWidget *parent=0, const char *name=0)
{
}
-QCursor::QCursor(const QCursor &)
+void KLineEdit::setMouseTracking(bool)
{
}
-QCursor::~QCursor()
+void KLineEdit::setContextMenuEnabled(bool showMenu)
{
}
-
-QCursor &QCursor::operator=(const QCursor &)
+
+KCompletionBox *KLineEdit::completionBox(bool create)
{
}
+
diff --git a/WebCore/kwq/KWQPalette.mm b/WebCore/src/kwq/KWQKMessageBox.mm
similarity index 67%
copy from WebCore/kwq/KWQPalette.mm
copy to WebCore/src/kwq/KWQKMessageBox.mm
index f3d2044..854a73b 100644
--- a/WebCore/kwq/KWQPalette.mm
+++ b/WebCore/src/kwq/KWQKMessageBox.mm
@@ -23,49 +23,36 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qpalette.h>
+#include <kmessagebox.h>
-QPalette::QPalette()
+void KMessageBox::error(QWidget *, const QString &,
+ const QString &caption=QString::null, bool notify=true)
{
}
-QPalette::QPalette(const QPalette &)
+int KMessageBox::warningYesNo(QWidget *, const QString &,
+ const QString &caption=QString::null,
+ const QString &buttonYes=QString::null,
+ const QString &buttonNo=QString::null,
+ bool notify=true)
{
}
-QPalette::~QPalette()
+int KMessageBox::questionYesNo(QWidget *, const QString &,
+ const QString &caption=QString::null,
+ const QString &buttonYes=QString::null,
+ const QString &buttonNo=QString::null, bool notify=true)
{
}
-void QPalette::setColor(ColorGroup, QColorGroup::ColorRole role, const QColor &color)
+void KMessageBox::sorry(QWidget *, const QString &,
+ const QString &caption=QString::null, bool notify=true)
{
}
-const QColorGroup &QPalette::active() const
-{
-}
-
-const QColorGroup &QPalette::inactive() const
-{
-}
-
-
-const QColorGroup &QPalette::disabled() const
-{
-}
-
-
-const QColorGroup &QPalette::normal() const
-{
-}
-
-
-QPalette &QPalette::operator=(const QPalette &)
-{
-}
diff --git a/WebCore/kwq/KWQPalette.mm b/WebCore/src/kwq/KWQLineEdit.mm
similarity index 69%
copy from WebCore/kwq/KWQPalette.mm
copy to WebCore/src/kwq/KWQLineEdit.mm
index f3d2044..1e989be 100644
--- a/WebCore/kwq/KWQPalette.mm
+++ b/WebCore/src/kwq/KWQLineEdit.mm
@@ -23,49 +23,76 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qpalette.h>
+#include <qlineedit.h>
-QPalette::QPalette()
+QLineEdit::QLineEdit(QWidget *parent=0, const char *name=0)
{
}
+QLineEdit::~QLineEdit()
+{
+}
+
+void QLineEdit::setEchoMode(EchoMode)
+{
+}
+
+void QLineEdit::setCursorPosition(int)
+{
+}
+
+
+void QLineEdit::setText(const QString &)
+{
+}
+
+
+void QLineEdit::setMaxLength(int)
+{
+}
-QPalette::QPalette(const QPalette &)
+
+bool QLineEdit::isReadOnly() const
{
}
-QPalette::~QPalette()
+void QLineEdit::setReadOnly(bool)
{
}
-void QPalette::setColor(ColorGroup, QColorGroup::ColorRole role, const QColor &color)
+bool QLineEdit::event(QEvent *)
{
}
-const QColorGroup &QPalette::active() const
+bool QLineEdit::frame() const
{
}
-const QColorGroup &QPalette::inactive() const
+int QLineEdit::cursorPosition() const
{
}
-const QColorGroup &QPalette::disabled() const
+int QLineEdit::maxLength() const
{
}
-const QColorGroup &QPalette::normal() const
+void QLineEdit::selectAll()
{
}
-QPalette &QPalette::operator=(const QPalette &)
+QLineEdit::QLineEdit(const QLineEdit &)
{
}
+QLineEdit &QLineEdit::operator=(const QLineEdit &)
+{
+}
+
+
diff --git a/WebCore/src/kwq/KWQColorGroup.mm b/WebCore/src/kwq/KWQListBox.mm
similarity index 59%
copy from WebCore/src/kwq/KWQColorGroup.mm
copy to WebCore/src/kwq/KWQListBox.mm
index 438ae21..e7ea8d6 100644
--- a/WebCore/src/kwq/KWQColorGroup.mm
+++ b/WebCore/src/kwq/KWQListBox.mm
@@ -23,86 +23,110 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qpalette.h>
-#include <qcolor.h>
+#include <KWQListBox.h>
-QColorGroup::QColorGroup()
+
+QListBox::QListBox()
+{
+}
+
+
+QListBox::~QListBox()
{
}
-QColorGroup::QColorGroup(const QColorGroup &)
+uint QListBox::count() const
{
}
-QColorGroup::~QColorGroup()
+void QListBox::clear()
{
}
-const QColor &color(QColorGroup::ColorRole cr)
+void QListBox::setSelectionMode(SelectionMode)
{
}
-void setColor(QColorGroup::ColorRole cr, const QColor &)
+QListBoxItem *QListBox::firstItem() const
{
}
-const QColor &QColorGroup::foreground() const
+int QListBox::currentItem() const
{
}
-const QColor &QColorGroup::shadow() const
+void QListBox::insertItem(const QString &, int index=-1)
{
}
-const QColor &QColorGroup::light() const
+void QListBox::insertItem(const QListBoxItem *, int index=-1)
{
}
-const QColor &QColorGroup::midlight() const
+void QListBox::setSelected(int, bool)
{
}
-const QColor &QColorGroup::dark() const
+bool QListBox::isSelected(int)
+{
+}
+
+
+// class QListBoxItem ==========================================================
+
+QListBoxItem::QListBoxItem()
{
}
-const QColor &QColorGroup::base() const
+void QListBoxItem::setSelectable(bool)
{
}
-const QColor &QColorGroup::buttonText() const
+QListBox *QListBoxItem::listBox() const
{
}
-const QColor &QColorGroup::button() const
+int QListBoxItem::width(const QListBox *) const
{
}
-const QColor &QColorGroup::text() const
+int QListBoxItem::height(const QListBox *) const
{
}
-const QColor &QColorGroup::background() const
+QListBoxItem *QListBoxItem::next() const
{
}
-QColorGroup &QColorGroup::operator=(const QColorGroup &)
+QListBoxItem *QListBoxItem::prev() const
{
}
+
+// class QListBoxText ==========================================================
+
+QListBoxText::QListBoxText(const QString &text=QString::null)
+{
+}
+
+
+QListBoxText::~QListBoxText()
+{
+}
+
diff --git a/WebCore/src/kwq/KWQObject.mm b/WebCore/src/kwq/KWQObject.mm
index fbb7535..b0a144a 100644
--- a/WebCore/src/kwq/KWQObject.mm
+++ b/WebCore/src/kwq/KWQObject.mm
@@ -28,26 +28,26 @@
bool QObject::connect(const QObject *, const char *, const QObject *,
const char *)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) bool QObject::connect\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
bool QObject::disconnect( const QObject *, const char *, const QObject *,
const char *)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) bool QObject::disconnect\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
QObject::QObject(QObject *parent=0, const char *name=0)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) QObject::QObject(QObject *parent=0, const char *name=0)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
QObject::~QObject()
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) QObject::~QObject()\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
@@ -55,13 +55,13 @@ QObject::~QObject()
const char *QObject::name() const
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) const char *QObject::name() const\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QObject::setName(const char *)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QObject::setName(const char *)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
#ifdef DO_QVARIANT
@@ -72,48 +72,48 @@ QVariant QObject::property(const char *name) const
bool QObject::inherits(const char *) const
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) bool QObject::inherits(const char *) const\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
bool QObject::connect(const QObject *, const char *, const char *) const
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) bool QObject::connect(const QObject *, const char *, const char *) const\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
int QObject:: startTimer(int)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) int QObject:: startTimer(int)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QObject::killTimer(int)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QObject::killTimer(int)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QObject::killTimers()
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QObject::killTimers()\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QObject::installEventFilter(const QObject *)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QObject::installEventFilter(const QObject *)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QObject::removeEventFilter(const QObject *)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QObject::removeEventFilter(const QObject *)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QObject::blockSignals(bool)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QObject::blockSignals(bool)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
diff --git a/WebCore/src/kwq/KWQPainter.mm b/WebCore/src/kwq/KWQPainter.mm
index a468931..f2d4861 100644
--- a/WebCore/src/kwq/KWQPainter.mm
+++ b/WebCore/src/kwq/KWQPainter.mm
@@ -50,7 +50,7 @@ QPainter::QPainter()
QPainter::QPainter(const QPaintDevice *pdev)
{
- NSLog (@"ERROR (NOT IMPLEMENTED) QPainter::QPainter(const QPaintDevice *)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
@@ -467,25 +467,25 @@ void QPainter::fillRect(int x, int y, int w, int h, const QBrush &brush)
void QPainter::setClipping(bool)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QPainter::setClipping(bool)\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
void QPainter::setClipRegion(const QRegion &)
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) void QPainter::setClipRegion(const QRegion &)\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
const QRegion &QPainter::clipRegion() const
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) const QRegion &QPainter::clipRegion() const\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
bool QPainter::hasClipping() const
{
- NSLog (@"ERROR (NOT YET IMPLEMENTED) bool QPainter::hasClipping() const\n");
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
@@ -498,7 +498,7 @@ Qt::RasterOp QPainter::rasterOp() const
return XorROP;
return CopyROP;
#else
- NSLog (@"ERROR (NOT IMPLEMENTED) QPainter::RasterOp QPainter::rasterOp() const\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
#endif
}
@@ -513,10 +513,39 @@ void QPainter::setRasterOp(RasterOp op)
else
data->compositingOperation = NSCompositeCopy;
#else
- NSLog (@"ERROR (NOT IMPLEMENTED) void QPainter::setRasterOp(RasterOp op)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
#endif
}
+void QPainter::translate(double dx, double dy)
+{
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QPainter::scale(double dx, double dy)
+{
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+bool QPainter::begin(const QPaintDevice *)
+{
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+bool QPainter::end()
+{
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+QPaintDevice *QPainter::device() const
+{
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
void QPainter::_lockFocus(){
if (data->isFocusLocked == 0){
[data->widget->getView() lockFocus];
diff --git a/WebCore/src/kwq/KWQPixmap.mm b/WebCore/src/kwq/KWQPixmap.mm
index 37b3357..4109c53 100644
--- a/WebCore/src/kwq/KWQPixmap.mm
+++ b/WebCore/src/kwq/KWQPixmap.mm
@@ -73,13 +73,13 @@ QPixmap::~QPixmap()
void QPixmap::setMask(const QBitmap &)
{
- NSLog (@"ERROR (NOT IMPLEMENTED) void QPixmap::setMask(const QBitmap &) Not needed?\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
const QBitmap *QPixmap::mask() const
{
- NSLog (@"ERROR (NOT IMPLEMENTED) const QBitmap *QPixmap::mask() const Not needed?\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
@@ -133,7 +133,7 @@ QPixmap QPixmap::xForm(const QWMatrix &xmatrix) const
QImage QPixmap::convertToImage() const
{
- NSLog (@"ERROR (NOT IMPLEMENTED) QImage QPixmap::convertToImage() This method should never be called. It is only used by Qt drag and drop (I think!)\n");
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
}
diff --git a/WebCore/src/kwq/KWQScrollView.mm b/WebCore/src/kwq/KWQScrollView.mm
new file mode 100644
index 0000000..6f390d2
--- /dev/null
+++ b/WebCore/src/kwq/KWQScrollView.mm
@@ -0,0 +1,180 @@
+/*
+ * 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 <qscrollview.h>
+
+QScrollView::QScrollView(QWidget *parent=0, const char *name=0, WFlags f=0)
+{
+}
+
+
+QScrollView::~QScrollView()
+{
+}
+
+
+QWidget* QScrollView::viewport() const
+{
+}
+
+
+int QScrollView::visibleWidth() const
+{
+}
+
+
+int QScrollView::visibleHeight() const
+{
+}
+
+
+int QScrollView::contentsWidth() const
+{
+}
+
+
+int QScrollView::contentsHeight() const
+{
+}
+
+
+int QScrollView::contentsX() const
+{
+}
+
+
+int QScrollView::contentsY() const
+{
+}
+
+
+void QScrollView::scrollBy(int dx, int dy)
+{
+}
+
+
+void QScrollView::setContentsPos(int x, int y)
+{
+}
+
+
+QScrollBar *QScrollView::horizontalScrollBar() const
+{
+}
+
+
+QScrollBar *QScrollView::verticalScrollBar() const
+{
+}
+
+
+void QScrollView::setVScrollBarMode(ScrollBarMode)
+{
+}
+
+
+void QScrollView::setHScrollBarMode(ScrollBarMode)
+{
+}
+
+
+void QScrollView::addChild(QWidget* child, int x=0, int y=0)
+{
+}
+
+
+void QScrollView::removeChild(QWidget* child)
+{
+}
+
+
+void QScrollView::resizeContents(int w, int h)
+{
+}
+
+
+void QScrollView::updateContents(int x, int y, int w, int h)
+{
+}
+
+
+void QScrollView::repaintContents(int x, int y, int w, int h, bool erase=TRUE)
+{
+}
+
+QPoint QScrollView::contentsToViewport(const QPoint &)
+{
+}
+
+
+void QScrollView::viewportToContents(int vx, int vy, int& x, int& y)
+{
+}
+
+
+void QScrollView::viewportWheelEvent(QWheelEvent *)
+{
+}
+
+
+QWidget *QScrollView::clipper() const
+{
+}
+
+
+void QScrollView::enableClipper(bool)
+{
+}
+
+
+void QScrollView::setStaticBackground(bool)
+{
+}
+
+
+void QScrollView::resizeEvent(QResizeEvent *)
+{
+}
+
+
+void QScrollView::ensureVisible(int,int)
+{
+}
+
+
+void QScrollView::ensureVisible(int,int,int,int)
+{
+}
+
+
+QScrollView::QScrollView(const QScrollView &)
+{
+}
+
+
+QScrollView &QScrollView::operator=(const QScrollView &)
+{
+}
+
diff --git a/WebCore/src/kwq/KWQColorGroup.mm b/WebCore/src/kwq/KWQTextEdit.mm
similarity index 59%
copy from WebCore/src/kwq/KWQColorGroup.mm
copy to WebCore/src/kwq/KWQTextEdit.mm
index 438ae21..04a4164 100644
--- a/WebCore/src/kwq/KWQColorGroup.mm
+++ b/WebCore/src/kwq/KWQTextEdit.mm
@@ -23,85 +23,120 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qpalette.h>
-#include <qcolor.h>
+#include <keditcl.h>
-QColorGroup::QColorGroup()
+
+QTableView::QTableView()
+{
+}
+
+
+QTableView::~QTableView()
+{
+}
+
+
+QScrollBar *QTableView::verticalScrollBar() const
+{
+}
+
+
+QScrollBar *QTableView::horizontalScrollBar() const
+{
+}
+
+
+void QTableView::setTableFlags(uint)
+{
+}
+
+
+void QTableView::clearTableFlags(uint f = ~0)
+{
+}
+
+
+QMultiLineEdit::QMultiLineEdit()
+{
+}
+
+
+QMultiLineEdit::~QMultiLineEdit()
{
}
-QColorGroup::QColorGroup(const QColorGroup &)
+void QMultiLineEdit::setWordWrap(WordWrap)
{
}
-QColorGroup::~QColorGroup()
+QMultiLineEdit::WordWrap QMultiLineEdit::wordWrap() const
{
}
-const QColor &color(QColorGroup::ColorRole cr)
+bool QMultiLineEdit::hasMarkedText() const
{
}
-void setColor(QColorGroup::ColorRole cr, const QColor &)
+bool QMultiLineEdit::isReadOnly() const
{
}
-const QColor &QColorGroup::foreground() const
+void QMultiLineEdit::setReadOnly(bool)
{
}
-const QColor &QColorGroup::shadow() const
+void QMultiLineEdit::setCursorPosition(int line, int col, bool mark = FALSE)
{
}
-const QColor &QColorGroup::light() const
+void QMultiLineEdit::getCursorPosition(int *line, int *col) const
{
}
-const QColor &QColorGroup::midlight() const
+void QMultiLineEdit::setText(const QString &)
{
}
-const QColor &QColorGroup::dark() const
+QString QMultiLineEdit::text()
{
}
-const QColor &QColorGroup::base() const
+QString QMultiLineEdit::textLine(int line) const
{
}
-const QColor &QColorGroup::buttonText() const
+int QMultiLineEdit::numLines() const
{
}
-const QColor &QColorGroup::button() const
+void QMultiLineEdit::selectAll()
{
}
-const QColor &QColorGroup::text() const
+KEdit::KEdit()
{
}
-const QColor &QColorGroup::background() const
+KEdit::KEdit(QWidget *)
{
}
-QColorGroup &QColorGroup::operator=(const QColorGroup &)
+KEdit::~KEdit()
{
}
diff --git a/WebCore/src/kwq/KWQWidget.mm b/WebCore/src/kwq/KWQWidget.mm
index f7a17d4..c613da8 100644
--- a/WebCore/src/kwq/KWQWidget.mm
+++ b/WebCore/src/kwq/KWQWidget.mm
@@ -288,7 +288,7 @@ QSize QWidget::minimumSizeHint() const
// Used by embedded java (KJavaEmbed::sizeHint(). Will be replaced.
// Used by RenderSubmitButton::calcMinMaxWidth(), where it is called
// on a button widget. Will be replaced.
- NSLog (@"ERROR: QWidget::minimumSizeHint() called. Should never be called.\n", nil);
+ NSLog (@"ERROR %s:%s:%d (NOT IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
return QSize (0,0);
}
@@ -301,7 +301,7 @@ bool QWidget::isVisible() const
void QWidget::setCursor(const QCursor &cur)
{
- NSLog (@"WARNING(UNIMPLEMENTED): QWidget::setCursor()\n", nil);
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
if (data->cursor)
delete data->cursor;
data->cursor = new QCursor (cur);
@@ -312,21 +312,21 @@ bool QWidget::event(QEvent *)
{
// This will eventually not be called, or called from our implementation
// of run loop, or something???
- NSLog (@"WARNING(UNIMPLEMENTED): QWidget::event(QEvent *)\n", nil);
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
return TRUE;
}
bool QWidget::focusNextPrevChild(bool)
{
- NSLog (@"WARNING(UNIMPLEMENTED): QWidget::focusNextPrevChild()\n", nil);
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
return TRUE;
}
bool QWidget::hasMouseTracking() const
{
- NSLog (@"WARNING(UNIMPLEMENTED): QWidget::hasMouseTracking()\n", nil);
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
return true;
}
@@ -380,6 +380,54 @@ void QWidget::internalSetGeometry( int x, int y, int w, int h, bool isMove )
[data->view setFrame: NSMakeRect (data->rect.x(), data->rect.y(), data->rect.width(), data->rect.height())];
}
+void QWidget::showEvent(QShowEvent *)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QWidget::hideEvent(QHideEvent *)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QWidget::wheelEvent(QWheelEvent *)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QWidget::keyPressEvent(QKeyEvent *)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QWidget::keyReleaseEvent(QKeyEvent *)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QWidget::focusOutEvent(QFocusEvent *)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QWidget::setBackgroundMode(BackgroundMode)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
+void QWidget::setAcceptDrops(bool)
+{
+ NSLog (@"WARNING %s:%s:%d (NOT YET IMPLEMENTED)\n", __FILE__, __FUNCTION__, __LINE__);
+}
+
+
#ifdef _KWQ_
void QWidget::paint (void *)
diff --git a/WebCore/src/kwq/Makefile.in b/WebCore/src/kwq/Makefile.in
index cabd01c..1afdcf6 100644
--- a/WebCore/src/kwq/Makefile.in
+++ b/WebCore/src/kwq/Makefile.in
@@ -27,10 +27,19 @@ MMOBJECTS = \
KWQBrush.o \
KWQColor.o \
KWQColorGroup.o \
+ KWQComboBox.o \
KWQCursor.o \
KWQFont.o \
KWQFontMetrics.o \
+ KWQFrame.o \
KWQKHTMLPart.o \
+ KWQKComboBox.o \
+ KWQKCompletionBox.o \
+ KWQKCursor.o \
+ KWQKLineEdit.o \
+ KWQKMessageBox.o \
+ KWQListBox.o \
+ KWQLineEdit.o \
KWQObject.o \
KWQPainter.o \
KWQPaintDevice.o \
@@ -39,6 +48,8 @@ MMOBJECTS = \
KWQPen.o \
KWQPixmap.o \
KWQPointArray.o \
+ KWQScrollView.o \
+ KWQTextEdit.o \
KWQView.o \
KWQWMatrix.o \
KWQWidget.o \
@@ -69,6 +80,7 @@ CMMFLAGS = $(BASECMMFLAGS) \
-I$(TOPSRCDIR)/src/kwq/qt \
-I$(TOPSRCDIR)/src/kwq/kde \
-I$(TOPSRCDIR)/src/kwq/kdecore \
+ -I$(TOPSRCDIR)/src/kwq/kdeui \
-I. \
$(NULL)
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list