diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-11-16 05:19:32 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-11-16 05:19:32 (GMT) |
commit | fda2044359c3361b6b525d21fc455160d0ea746a (patch) | |
tree | 1b2aae2fdea22a5cecae59483eabb5c3b8d0a164 | |
parent | 759d4d27d644c6ededf638b73947968d85ced0d9 (diff) | |
download | Qt-fda2044359c3361b6b525d21fc455160d0ea746a.zip Qt-fda2044359c3361b6b525d21fc455160d0ea746a.tar.gz Qt-fda2044359c3361b6b525d21fc455160d0ea746a.tar.bz2 |
doc
-rw-r--r-- | src/declarative/graphicsitems/qmlgraphicswebview.cpp | 9 |
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) { |