Changeset 51308 in webkit
- Timestamp:
- Nov 23, 2009 7:17:19 AM (14 years ago)
- Location:
- trunk/WebKit/qt
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/qt/Api/qwebelement.cpp
r51047 r51308 100 100 setPlainText() and setInnerXml(). To replace the element itself and its 101 101 contents, use setOuterXml(). 102 103 \section1 Examples 104 105 The \l{DOM Traversal Example} shows one way to traverse documents in a running 106 example. 107 108 The \l{Simple Selector Example} can be used to experiment with the searching 109 features of this class and provides sample code you can start working with. 102 110 */ 103 111 … … 196 204 returned. 197 205 198 \l{http://www.w3.org/TR/REC-CSS2/selector.html#q1}{Standard CSS2 selector} 199 syntax is used for the query. 206 \l{Standard CSS2 selector} syntax is used for the query. 200 207 201 208 \note This search is performed recursively. … … 212 219 \a selectorQuery. 213 220 214 \l{http://www.w3.org/TR/REC-CSS2/selector.html#q1}{Standard CSS2 selector} 215 syntax is used for the query. 221 \l{Standard CSS2 selector} syntax is used for the query. 216 222 217 223 \note This search is performed recursively. -
trunk/WebKit/qt/ChangeLog
r51306 r51308 1 2009-11-23 David Boddie <dboddie@trolltech.com> 2 3 Reviewed by Simon Hausmann. 4 5 Updated the QWebElement documentation with links to examples and 6 external resources. 7 Fixed the project file for the webelement snippet and tidied up the 8 markers used for quoting the code. 9 10 * Api/qwebelement.cpp: 11 * docs/webkitsnippets/webelement/main.cpp: 12 (findAll): 13 * docs/webkitsnippets/webelement/webelement.pro: 14 1 15 2009-11-23 Simon Hausmann <simon.hausmann@nokia.com> 2 16 -
trunk/WebKit/qt/docs/webkitsnippets/webelement/main.cpp
r43236 r51308 23 23 #include <qwebframe.h> 24 24 #include <qwebelement.h> 25 #include <qdebug.h>26 25 27 26 static QWebFrame *frame; … … 54 53 */ 55 54 55 //! [FindAll intro] 56 56 QList<QWebElement> allSpans = document.findAll("span"); 57 57 QList<QWebElement> introSpans = document.findAll("p.intro span"); 58 //! [FindAll ]58 //! [FindAll intro] //! [FindAll] 59 59 } 60 60 -
trunk/WebKit/qt/docs/webkitsnippets/webelement/webelement.pro
r43236 r51308 1 1 TEMPLATE = app 2 2 CONFIG -= app_bundle 3 CONFIG(QTDIR_build) { 4 QT += webkit 5 } 3 6 SOURCES = main.cpp 4 7 include(../../../../../WebKit.pri)
Note: See TracChangeset
for help on using the changeset viewer.