summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-03-03 17:04:55 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-03-03 17:04:55 (GMT)
commit7e9c0cbf02be5f7c426a81e53b5b0df39b5328ce (patch)
tree4427a87eba61f3a94cdd199d6c8e330b52ecb2e0 /doc/src/declarative
parent9b3f233c6740d4a703c53bd6bbb373115c5bf520 (diff)
downloadQt-7e9c0cbf02be5f7c426a81e53b5b0df39b5328ce.zip
Qt-7e9c0cbf02be5f7c426a81e53b5b0df39b5328ce.tar.gz
Qt-7e9c0cbf02be5f7c426a81e53b5b0df39b5328ce.tar.bz2
Doc: Fixed QML snippet highlighting by creating a complete code snippet.
Diffstat (limited to 'doc/src/declarative')
-rw-r--r--doc/src/declarative/qmlwebkit.qdoc5
1 files changed, 1 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}
-
*/