Move WebKit into Source
[WebKit-https.git] / Source / WebKit / qt / docs / webkitsnippets / qtwebkit_qwebview_snippet.cpp
1
2 void wrapInFunction()
3 {
4
5 //! [0]
6     view->page()->history();
7 //! [0]
8
9
10 //! [1]
11     view->page()->settings();
12 //! [1]
13
14
15 //! [2]
16     view->triggerAction(QWebPage::Copy);
17 //! [2]
18
19
20 //! [3]
21     view->page()->triggerPageAction(QWebPage::Stop);
22 //! [3]
23
24
25 //! [4]
26     view->page()->triggerPageAction(QWebPage::GoBack);
27 //! [4]
28
29
30 //! [5]
31     view->page()->triggerPageAction(QWebPage::GoForward);
32 //! [5]
33
34 }
35