diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-03-31 01:54:06 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-03-31 01:54:06 (GMT) |
commit | e479a0468eb5e3a57d1f20f423c60894d7a1a7a3 (patch) | |
tree | 1655f8f52cb39d0cef47ae4bccc4db186ec044b8 /src/imports | |
parent | f31145a524f1d0098fb1c523e288359e023e926b (diff) | |
download | Qt-e479a0468eb5e3a57d1f20f423c60894d7a1a7a3.zip Qt-e479a0468eb5e3a57d1f20f423c60894d7a1a7a3.tar.gz Qt-e479a0468eb5e3a57d1f20f423c60894d7a1a7a3.tar.bz2 |
doc
Task-number: QTBUG-9372
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/webkit/qdeclarativewebview.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/imports/webkit/qdeclarativewebview.cpp b/src/imports/webkit/qdeclarativewebview.cpp index be3fca2..1ff1078 100644 --- a/src/imports/webkit/qdeclarativewebview.cpp +++ b/src/imports/webkit/qdeclarativewebview.cpp @@ -1218,6 +1218,14 @@ QString QDeclarativeWebPage::chooseFile(QWebFrame *originatingFrame, const QStri return oldFile; } +/*! + \qmlsignal WebView::alert(message) + + This signal is emitted when the web engine sends a JavaScript alert. The \a message is the text + to be displayed in the alert to the user. +*/ + + void QDeclarativeWebPage::javaScriptAlert(QWebFrame *originatingFrame, const QString& msg) { Q_UNUSED(originatingFrame) |