[Qt-interest] String of Webkit page (QWebView)

Yawar Amin yawar.amin at gmail.com
Sat May 1 01:52:30 CEST 2010


Hi,

On 2010-04-30, at 17:51, M. Bashir Al-Noimi wrote:

> Hi folks,
> 
> How I can get string of QWebView? I tried to look for a function for this procedure but I faild  =-O .
> 
> P.S.
> It's too easy to get string of QTextBrowser by using toPlainText() function so I'm wondering why I couldn't find a function like it in QWebView

QWebView::page() returns a QWebPage.
QWebPage::currentFrame() returns a QWebFrame.
QWebFrame::toHtml() and QWebFrame::toPlainText() return QStrings.

 HTH,

  Yawar

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100430/6809fd22/attachment.bin 


More information about the Qt-interest-old mailing list