summaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-03-31 01:54:06 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-03-31 01:54:06 (GMT)
commite479a0468eb5e3a57d1f20f423c60894d7a1a7a3 (patch)
tree1655f8f52cb39d0cef47ae4bccc4db186ec044b8 /src/imports
parentf31145a524f1d0098fb1c523e288359e023e926b (diff)
downloadQt-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.cpp8
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)