[Qt] WebKit agent string

Marcin Dębicki alterfenix at gmail.com
Wed Sep 2 13:31:37 CEST 2009


Currently to change agent string using WebKit from QT I have to subclass
QWebPage and write proper QString
*userAgentForUrl<http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qwebpage.html#userAgentForUrl>
* (*self*, QUrl *url*) function. I wonder if there is a way to do that in
fpc. I mean subclassing of QWebPage is unlikely possible but I think that
making it possible to change agent string from default one wouldn't be such
big problem.

Best regards,
Marcin Dębicki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/qt/attachments/20090902/549aeea0/attachment-0002.html>


More information about the Qt mailing list