QWebElement document = frame->documentElement();
QWebElementCollection jokeTitle = document.findAll("div.cat_llb h3");
QWebElementCollection jokeContent = document.findAll("div.cat_llb div#endtext");
for (int ix = 0; ix != jokeTitle.count(); ++ix)
{
ui->textBrowser->insertHtml(QString("<p><h2><font color=red>%1</h></font></p>"
"<p>%2</p><br>").arg(jokeTitle[ix].toPlainText()).arg(
jokeContent[ix].toInnerXml()));
//qDebug()<<jokeContent[ix].toInnerXml();
joke.append(jokeContent[ix].toInnerXml());
}