用以下信号
webView->page()->linkHovered
manul里这样说明:
void QWebPage::linkHovered ( const QString & link, const QString & title, const QString & textContent ) [signal]
This signal is emitted when the mouse hovers over a link.
link contains the link url. title is the link element's title, if it is specified in the markup. textContent provides text within the link element, e.g., text inside an HTML anchor tag.
When the mouse leaves the link element the signal is emitted with empty parameters.
See also linkClicked().