From e479a0468eb5e3a57d1f20f423c60894d7a1a7a3 Mon Sep 17 00:00:00 2001 From: Warwick Allison Date: Wed, 31 Mar 2010 11:54:06 +1000 Subject: doc Task-number: QTBUG-9372 --- src/imports/webkit/qdeclarativewebview.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) 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) -- cgit v0.12