summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qmlgraphicswebview.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-16 05:19:32 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-16 05:19:32 (GMT)
commitfda2044359c3361b6b525d21fc455160d0ea746a (patch)
tree1b2aae2fdea22a5cecae59483eabb5c3b8d0a164 /src/declarative/graphicsitems/qmlgraphicswebview.cpp
parent759d4d27d644c6ededf638b73947968d85ced0d9 (diff)
downloadQt-fda2044359c3361b6b525d21fc455160d0ea746a.zip
Qt-fda2044359c3361b6b525d21fc455160d0ea746a.tar.gz
Qt-fda2044359c3361b6b525d21fc455160d0ea746a.tar.bz2
doc
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicswebview.cpp')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicswebview.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicswebview.cpp b/src/declarative/graphicsitems/qmlgraphicswebview.cpp
index 00fdd6d..c8bb504 100644
--- a/src/declarative/graphicsitems/qmlgraphicswebview.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicswebview.cpp
@@ -368,8 +368,13 @@ void QmlGraphicsWebView::setPreferredHeight(int ih)
}
/*!
- Evaluates the \a scriptSource JavaScript inside the main frame
- context and returns the result of the last executed statement.
+ \qmlmethod bool WebView::evaluateJavaScript(string)
+
+ Evaluates the \a scriptSource JavaScript inside the context of the
+ main web frame, and returns the result of the last executed statement.
+
+ Note that this JavaScript does \e not have any access to QML objects
+ except as made available as windowObjects.
*/
QVariant QmlGraphicsWebView::evaluateJavaScript(const QString &scriptSource)
{