summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-11-09 18:38:35 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-11-20 02:31:20 (GMT)
commit19d63f4d932ae16d0e1c69892681ecd1fabeb44c (patch)
treed6cafb818d54d0d3cc7474668704242737e3729e /doc
parent7a9b69c48e817b93039a4a5e1b1c202e848a3572 (diff)
downloadQt-19d63f4d932ae16d0e1c69892681ecd1fabeb44c.zip
Qt-19d63f4d932ae16d0e1c69892681ecd1fabeb44c.tar.gz
Qt-19d63f4d932ae16d0e1c69892681ecd1fabeb44c.tar.bz2
Doc: Added an example to demonstrate the QWebElement class.
Reviewed-by: Trust Me (cherry picked from commit d46b4208147ec01aba19c703f21954f068b4dc06)
Diffstat (limited to 'doc')
-rw-r--r--doc/src/diagrams/webkit-simpleselector.pngbin0 -> 82564 bytes
-rw-r--r--doc/src/images/webkit-simpleselector.pngbin0 -> 130292 bytes
-rw-r--r--doc/src/qt4-intro.qdoc6
3 files changed, 1 insertions, 5 deletions
diff --git a/doc/src/diagrams/webkit-simpleselector.png b/doc/src/diagrams/webkit-simpleselector.png
new file mode 100644
index 0000000..e442f97
--- /dev/null
+++ b/doc/src/diagrams/webkit-simpleselector.png
Binary files differ
diff --git a/doc/src/images/webkit-simpleselector.png b/doc/src/images/webkit-simpleselector.png
new file mode 100644
index 0000000..2c888ca
--- /dev/null
+++ b/doc/src/images/webkit-simpleselector.png
Binary files differ
diff --git a/doc/src/qt4-intro.qdoc b/doc/src/qt4-intro.qdoc
index 5b6d5d8..dcba214 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.