diff options
author | David Boddie <dboddie@trolltech.com> | 2009-11-09 18:38:35 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-11-09 18:44:07 (GMT) |
commit | d46b4208147ec01aba19c703f21954f068b4dc06 (patch) | |
tree | ba2a5862217895c9f5e9e905dc414bc422f9cbf9 /doc/src/qt4-intro.qdoc | |
parent | b770abdd564f28a8d9dde816f72f73e6b15984af (diff) | |
download | Qt-d46b4208147ec01aba19c703f21954f068b4dc06.zip Qt-d46b4208147ec01aba19c703f21954f068b4dc06.tar.gz Qt-d46b4208147ec01aba19c703f21954f068b4dc06.tar.bz2 |
Doc: Added an example to demonstrate the QWebElement class.
Reviewed-by: Trust Me
Diffstat (limited to 'doc/src/qt4-intro.qdoc')
-rw-r--r-- | doc/src/qt4-intro.qdoc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/src/qt4-intro.qdoc b/doc/src/qt4-intro.qdoc index 4911426..0871e51 100644 --- a/doc/src/qt4-intro.qdoc +++ b/doc/src/qt4-intro.qdoc @@ -581,11 +581,7 @@ DOM, helps reuse CSS selector knowledge, and gives little maintenance or footprint overhead. - \code - QWebElement document = frame->documentElement(); - QList<QWebElement> allSpans = document.findAll("span"); - QList<QWebElement> introSpans = document.findAll("p.intro span"); - \endcode + \snippet webkitsnippets/webelement/main.cpp FindAll intro See the QWebElement class documentation for more information. |