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 | |
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')
-rw-r--r-- | doc/src/diagrams/webkit-simpleselector.png | bin | 0 -> 82564 bytes | |||
-rw-r--r-- | doc/src/images/webkit-simpleselector.png | bin | 0 -> 130292 bytes | |||
-rw-r--r-- | doc/src/qt4-intro.qdoc | 6 |
3 files changed, 1 insertions, 5 deletions
diff --git a/doc/src/diagrams/webkit-simpleselector.png b/doc/src/diagrams/webkit-simpleselector.png Binary files differnew file mode 100644 index 0000000..e442f97 --- /dev/null +++ b/doc/src/diagrams/webkit-simpleselector.png diff --git a/doc/src/images/webkit-simpleselector.png b/doc/src/images/webkit-simpleselector.png Binary files differnew file mode 100644 index 0000000..2c888ca --- /dev/null +++ b/doc/src/images/webkit-simpleselector.png 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. |