diff options
author | Jerome Pasion <jerome.pasion@nokia.com> | 2011-03-22 09:58:36 (GMT) |
---|---|---|
committer | Jerome Pasion <jerome.pasion@nokia.com> | 2011-03-22 09:58:36 (GMT) |
commit | 1da3067db550d1be4d24caa39546458895b8d973 (patch) | |
tree | 5ab77eaba5bc850b8ae6aa78e805ade6c662bfff /doc/src | |
parent | fd0906bd56add3cd1f1bda502a905a745f48a73f (diff) | |
download | Qt-1da3067db550d1be4d24caa39546458895b8d973.zip Qt-1da3067db550d1be4d24caa39546458895b8d973.tar.gz Qt-1da3067db550d1be4d24caa39546458895b8d973.tar.bz2 |
Changed inline code to snippet code.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/declarative/qmlwebkit.qdoc | 5 | ||||
-rw-r--r-- | doc/src/snippets/declarative/webview/webview.qml | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/doc/src/declarative/qmlwebkit.qdoc b/doc/src/declarative/qmlwebkit.qdoc index 354e60a..840f24d 100644 --- a/doc/src/declarative/qmlwebkit.qdoc +++ b/doc/src/declarative/qmlwebkit.qdoc @@ -42,14 +42,11 @@ The QtWebKit Module has a QML element, \l{WebView} for displaying web content from a \c URL. Import the QtWebKit module before declaring a \c WebView element: -\qml -import QtWebKit 1.0 -\endqml +\snippet doc/src/snippets/declarative/webview/webview.qml import \section1 Simple Usage \snippet doc/src/snippets/declarative/webview/webview.qml document \image webview.png \sa {Models and Views: WebView Example}{WebView Example}, {QML Web Browser} - */ diff --git a/doc/src/snippets/declarative/webview/webview.qml b/doc/src/snippets/declarative/webview/webview.qml index c1cef33..a986fab 100644 --- a/doc/src/snippets/declarative/webview/webview.qml +++ b/doc/src/snippets/declarative/webview/webview.qml @@ -39,7 +39,9 @@ ****************************************************************************/ //! [document] +//! [import] import QtWebKit 1.0 +//! [import] WebView { url: "http://www.nokia.com" |