Is there a way to scroll to anchor in QWebView after all links have been delegated using DelegateAllLinks?

In other words, I get the linkClicked() signal for ALL links in the document. If it's a link to a local anchor, I want to make the web view scroll to the anchor. In QTextEdit there is the scrollToAnchor() function, but I can't find anything that would make QWebView move to a given anchor...