[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 06:00:04 PDT 2009


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





--- Comment #25 from Yael <yael.aharon at nokia.com>  2009-10-09 06:00:04 PDT ---
(In reply to comment #24)
> 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.

I am guessing that this will only be available in Qt 4.6, but our release is
based on Qt 4.5, so this has to be carefully coordinated.

-- 
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