Agent021
13th May 2013, 13:18
Hello.
I'm writing my own web browser using WebKit built-in qt. I've created class PageX which contains QWebView object. I want to get the title of every visited website (content of <title> tags) and save it to some variable (QString, I guess). I've tried to use function title() from QWebView, but it holds an empty string by default and doesn't change its content when I open every next website. Please explain to me how can I deal with it.
I'm using Qt 4.8.4 with QtCreator 2.6.1.
Thanks in advance.
PS Please reply in polish if you, dear helper, speak polish.
I'm writing my own web browser using WebKit built-in qt. I've created class PageX which contains QWebView object. I want to get the title of every visited website (content of <title> tags) and save it to some variable (QString, I guess). I've tried to use function title() from QWebView, but it holds an empty string by default and doesn't change its content when I open every next website. Please explain to me how can I deal with it.
I'm using Qt 4.8.4 with QtCreator 2.6.1.
Thanks in advance.
PS Please reply in polish if you, dear helper, speak polish.