First of all thanks for the quick reply; I'm trying to follow your suggestion but I don't know what should be '#myAction::'
Edit:
I've added this line:
connect(ui
->webView,
SIGNAL(linkClicked
(QUrl)),
this,
SLOT(openTab
(QUrl)));
connect(ui->webView,SIGNAL(linkClicked(QUrl)), this, SLOT(openTab(QUrl)));
To copy to clipboard, switch view to plain text mode
but seems that linkClicked() signal isn't emitted; I've tryed with this simple code:
void MainWindow
::openTab(QUrl u
) {
qDebug() << "you have clicked a link...";
}
void MainWindow::openTab(QUrl u)
{
qDebug() << "you have clicked a link...";
}
To copy to clipboard, switch view to plain text mode
but no output in terminal.
Bookmarks