Hi
When set to QWebPage:elegateAllLinks a clickLink signal is taking over the click. But how to actually continue loading the link. So let say when I click on link it opens the url normally but in the background do some job through linkClicked ignal/slot yet ???
Thanks
connect(this,
SIGNAL(linkClicked
(const QUrl &)),
SLOT(linkIsClicked
(const QUrl
&)),Qt
::DirectConnection);
connect(this, SIGNAL(linkClicked(const QUrl &)), SLOT(linkIsClicked(const QUrl&)),Qt::DirectConnection);
To copy to clipboard, switch view to plain text mode
this->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
this->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
To copy to clipboard, switch view to plain text mode
Added after 1 23 minutes:
answer
void CLASS:linkClicked(const QUrl&) {
load(url);
}
void CLASS:linkClicked(const QUrl&) {
load(url);
}
To copy to clipboard, switch view to plain text mode
Bookmarks