[Webkit-unassigned] [Bug 29975] [Qt] Inform the application when a new request is created.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 9 04:08:19 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29975





--- Comment #24 from Simon Hausmann <hausmann at webkit.org>  2009-10-09 04:08:19 PDT ---
Ok, I sat down with Lars and we submitted a patch into Qt 4.6 that adds two
methods to QNetworkRequest:

--- a/src/network/access/qnetworkrequest.h
+++ b/src/network/access/qnetworkrequest.h
@@ -120,6 +120,9 @@ public:
     void setSslConfiguration(const QSslConfiguration &configuration);
 #endif
ยท
+    void setOriginatingObject(QObject *object);
+    QObject *originatingObject() const;


Internally that QObject is stored as a QWeakPointer, so originatingObject()
will return a null pointer if the object in question died in the meantime.

What needs to be done now is to extend QtWebKit to use that API and set the
QWebFrame as the originating object. Then we can remove the signal from
QWebPage again, as it is not necessary anymore.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list