diff options
author | Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> | 2016-01-27 11:00:18 +0100 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> | 2016-01-28 08:42:36 +0000 |
commit | 97c17e70cf984839c6e95d8f09a55f8d1e61b42e (patch) | |
tree | 9c4504ae35309113cca40b727dc0d34ef2e51a2d /examples/webenginewidgets/contentmanipulation/mainwindow.h | |
parent | ae4b0583e4d62b6fe660b316e8a9c117c8b85881 (diff) |
Doc: update Contentmanipulation example docs
- Update screenshot
- Remove second \brief command
- Fix grammar issues
- Use standard phrasing for examples
- Replace \snippet commands with \quotefromfile commands.
This enables documenting each line of code separately
- Replace occurrences of QWebView with QWebEngineView
- Replace reference to the obsolete QWebEnginePage::evaluateJavaScript
method with reference to QWebEnginePage::runJavaScript() that is used
in the example code
- Remove snippet markers from mainwindow.h and mainwindow.cpp
- Move code comment from mainwindow.cpp to the documentation to make the
code leaner
Change-Id: If3346810c8aef67c15c9ec7ad4469a222e636cf2
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'examples/webenginewidgets/contentmanipulation/mainwindow.h')
-rw-r--r-- | examples/webenginewidgets/contentmanipulation/mainwindow.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/webenginewidgets/contentmanipulation/mainwindow.h b/examples/webenginewidgets/contentmanipulation/mainwindow.h index 8e9b12538..06b8aba03 100644 --- a/examples/webenginewidgets/contentmanipulation/mainwindow.h +++ b/examples/webenginewidgets/contentmanipulation/mainwindow.h @@ -45,7 +45,6 @@ class QWebEngineView; class QLineEdit; QT_END_NAMESPACE -//! [1] class MainWindow : public QMainWindow { Q_OBJECT @@ -76,5 +75,4 @@ private: QLineEdit *locationEdit; QAction *rotateAction; int progress; -//! [1] }; |