diff options
| author | Venugopal Shivashankar <venugopal.shivashankar@digia.com> | 2014-12-02 10:34:54 +0100 |
|---|---|---|
| committer | Venugopal Shivashankar <venugopal.shivashankar@digia.com> | 2014-12-08 10:59:08 +0100 |
| commit | a2cd6ee1f6f5bd6ceb7cc491f4049357a14a15c8 (patch) | |
| tree | a3f50254178aa693fda559578524ac6158c4f382 /src/webview/qwebview.cpp | |
| parent | 4de1518876782dfa58951dfa5a902729bb1ec93d (diff) | |
Doc: Added the missing \qmlmethod statements
It is necessary to use appropriate \qmlxxx QDoc
commands to document the WebView properties and
methods, as WebView is a C++ class documented
as a QML type.
Change-Id: I6001b6f4e19553935d8e22ed7c1f99c7e06b2b80
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
Diffstat (limited to 'src/webview/qwebview.cpp')
| -rw-r--r-- | src/webview/qwebview.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/webview/qwebview.cpp b/src/webview/qwebview.cpp index db9e920..84f3175 100644 --- a/src/webview/qwebview.cpp +++ b/src/webview/qwebview.cpp @@ -230,6 +230,8 @@ bool QWebView::isLoading() const } /*! + \qmlmethod void QtWebView::WebView::goBack() + Navigates back in the web history. */ void QWebView::goBack() @@ -239,6 +241,8 @@ void QWebView::goBack() } /*! + \qmlmethod void QtWebView::WebView::goForward() + Navigates forward in the web history. */ void QWebView::goForward() @@ -248,6 +252,8 @@ void QWebView::goForward() } /*! + \qmlmethod void QtWebView::WebView::reload() + Reloads the current url. */ void QWebView::reload() @@ -258,6 +264,8 @@ void QWebView::reload() } /*! + \qmlmethod void QtWebView::WebView::stop() + Stops loading the current url. */ void QWebView::stop() |
