[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:11:53 PDT 2009


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





--- Comment #26 from Simon Hausmann <hausmann at webkit.org>  2009-10-09 06:11:52 PDT ---
(In reply to comment #25)
> (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.

Yes. Would it be feasible for you to apply the patch in question against your
Qt 4.5 version?

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