[Webkit-unassigned] [Bug 29455] [Qt] The signal linkCliked is not triggered when loading a local file using QWebView::setHtml
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 25 02:00:35 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=29455
Simon Hausmann <hausmann at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
CC| |hausmann at webkit.org
--- Comment #1 from Simon Hausmann <hausmann at webkit.org> 2009-11-25 02:00:35 PST ---
Works for me using the following test-case:
#include <QtGui>
#include <QtWebKit>
#include <QSignalSpy>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QWebView view;
QSignalSpy spy(&view, SIGNAL(linkClicked(const QUrl &)));
view.setHtml("<a href=\"http://www.webkit.org/\">click me!</a>");
view.page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
view.show();
a.exec();
qWarning() << "clicks:" << spy;
return 0;
}
--
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