summaryrefslogtreecommitdiffstats
path: root/src/imports/webkit/qdeclarativewebview.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-06-15 07:50:47 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-06-15 07:50:47 (GMT)
commit45d9575a8c680206cdea0519b03996b6b8085294 (patch)
treed156b7d5c2dc0633c4468dce4cae4f0daf9e0035 /src/imports/webkit/qdeclarativewebview.cpp
parent01506a3b212d449d65df1131b49af0e174e45275 (diff)
parentc1e6d97b9476c859abc3927046144b4006fcf735 (diff)
downloadQt-45d9575a8c680206cdea0519b03996b6b8085294.zip
Qt-45d9575a8c680206cdea0519b03996b6b8085294.tar.gz
Qt-45d9575a8c680206cdea0519b03996b6b8085294.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'src/imports/webkit/qdeclarativewebview.cpp')
-rw-r--r--src/imports/webkit/qdeclarativewebview.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/imports/webkit/qdeclarativewebview.cpp b/src/imports/webkit/qdeclarativewebview.cpp
index 050e2b7..383f1ce 100644
--- a/src/imports/webkit/qdeclarativewebview.cpp
+++ b/src/imports/webkit/qdeclarativewebview.cpp
@@ -711,7 +711,7 @@ bool QDeclarativeWebView::sceneEvent(QEvent *event)
return QDeclarativeItem::sceneEvent(event);
}
-
+#ifndef QT_NO_ACTION
/*!
\qmlproperty action WebView::back
This property holds the action for causing the previous URL in the history to be displayed.
@@ -747,6 +747,7 @@ QAction *QDeclarativeWebView::stopAction() const
{
return page()->action(QWebPage::Stop);
}
+#endif // QT_NO_ACTION
/*!
\qmlproperty real WebView::title
@@ -1162,9 +1163,9 @@ QString QDeclarativeWebPage::chooseFile(QWebFrame *originatingFrame, const QStri
}
/*!
- \qmlsignal WebView::alert(message)
+ \qmlsignal WebView::onAlert(message)
- This signal is emitted when the web engine sends a JavaScript alert. The \a message is the text
+ This handler is called when the web engine sends a JavaScript alert. The \a message is the text
to be displayed in the alert to the user.
*/