Commit f10f21c7 authored by hausmann@webkit.org's avatar hausmann@webkit.org
Browse files

2008-10-22 Ariya Hidayat <ariya.hidayat@trolltech.com>

        Reviewed by Simon Hausmann.

        For public API, use the term boundingRect instead of boundingBox.

        * Api/qwebframe.cpp:
        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
        (QWebHitTestResult::boundingRect):
        * Api/qwebframe.h:
        * Api/qwebframe_p.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a2a27b5b
......@@ -984,7 +984,7 @@ QWebHitTestResultPrivate::QWebHitTestResultPrivate(const WebCore::HitTestResult
if (!hitTest.innerNode())
return;
pos = hitTest.point();
boundingBox = hitTest.boundingBox();
boundingRect = hitTest.boundingBox();
title = hitTest.title();
linkText = hitTest.textContent();
linkUrl = hitTest.absoluteLinkURL();
......@@ -1076,11 +1076,11 @@ QPoint QWebHitTestResult::pos() const
\since 4.5
Returns the bounding box of the element.
*/
QRect QWebHitTestResult::boundingBox() const
QRect QWebHitTestResult::boundingRect() const
{
if (!d)
return QRect();
return d->boundingBox;
return d->boundingRect;
}
/*!
......
......@@ -67,7 +67,7 @@ public:
bool isNull() const;
QPoint pos() const;
QRect boundingBox() const;
QRect boundingRect() const;
QString title() const;
QString linkText() const;
......
......@@ -100,7 +100,7 @@ public:
QWebHitTestResultPrivate(const WebCore::HitTestResult &hitTest);
QPoint pos;
QRect boundingBox;
QRect boundingRect;
QString title;
QString linkText;
QUrl linkUrl;
......
2008-10-22 Ariya Hidayat <ariya.hidayat@trolltech.com>
Reviewed by Simon Hausmann.
For public API, use the term boundingRect instead of boundingBox.
* Api/qwebframe.cpp:
(QWebHitTestResultPrivate::QWebHitTestResultPrivate):
(QWebHitTestResult::boundingRect):
* Api/qwebframe.h:
* Api/qwebframe_p.h:
2008-06-03 Siraj Razick <siraj.razick@collabora.co.uk>
Reviewed by Simon Hausmann.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment