summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebKit/qt/declarative
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2010-06-18 12:41:37 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2010-06-18 12:41:37 (GMT)
commit52590f355b2a17f65eea74b604bf921647704561 (patch)
tree1b42b976b6d85828ec6749edb4ef53169f741e93 /src/3rdparty/webkit/WebKit/qt/declarative
parent8f1def139d6eaf99c22b43536d056964e0d41245 (diff)
downloadQt-52590f355b2a17f65eea74b604bf921647704561.zip
Qt-52590f355b2a17f65eea74b604bf921647704561.tar.gz
Qt-52590f355b2a17f65eea74b604bf921647704561.tar.bz2
Updated WebKit to a99218d1984be36e00966f988123fa7e2b18eec5
Doc and build fixes: http://trac.webkit.org/changeset/61400
Diffstat (limited to 'src/3rdparty/webkit/WebKit/qt/declarative')
-rw-r--r--src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview.cpp6
-rw-r--r--src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview_p.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview.cpp b/src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview.cpp
index 0d2800f..263b42a 100644
--- a/src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview.cpp
+++ b/src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview.cpp
@@ -571,6 +571,7 @@ void QDeclarativeWebView::setPressGrabTime(int millis)
emit pressGrabTimeChanged();
}
+#ifndef QT_NO_ACTION
/*!
\qmlproperty action WebView::back
This property holds the action for causing the previous URL in the history to be displayed.
@@ -606,6 +607,7 @@ QAction* QDeclarativeWebView::stopAction() const
{
return page()->action(QWebPage::Stop);
}
+#endif // QT_NO_ACTION
/*!
\qmlproperty real WebView::title
@@ -971,9 +973,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
+ The 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.
*/
diff --git a/src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview_p.h b/src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview_p.h
index 3c3f889..b2055bf 100644
--- a/src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview_p.h
+++ b/src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview_p.h
@@ -103,10 +103,12 @@ class QDeclarativeWebView : public QDeclarativeItem {
Q_PROPERTY(qreal progress READ progress NOTIFY progressChanged)
Q_PROPERTY(Status status READ status NOTIFY statusChanged)
+#ifndef QT_NO_ACTION
Q_PROPERTY(QAction* reload READ reloadAction CONSTANT)
Q_PROPERTY(QAction* back READ backAction CONSTANT)
Q_PROPERTY(QAction* forward READ forwardAction CONSTANT)
Q_PROPERTY(QAction* stop READ stopAction CONSTANT)
+#endif
Q_PROPERTY(QDeclarativeWebSettings* settings READ settingsObject CONSTANT)
@@ -147,10 +149,12 @@ public:
qreal progress() const;
QString statusText() const;
+#ifndef QT_NO_ACTION
QAction *reloadAction() const;
QAction *backAction() const;
QAction *forwardAction() const;
QAction *stopAction() const;
+#endif
QWebPage *page() const;
void setPage(QWebPage *page);