WebView Clear history
-
Is it possible to clear the history of a WebView?
-
You can use:
@
QWebView* pWebView;
QWebHistory* pHistory = pWebView->history();
pHistory->clear();
@see "QWebView::history":http://doc.qt.nokia.com/4.7/qwebview.html#history and "QWebHistory::clear":http://doc.qt.nokia.com/4.7/qwebhistory.html#clear
-
I was looking for a way of doing it through QML, but If that's my only option I guess I will create a qml plug-in.
-
Ups, sorry, missed the forum topic.
Just saw WebView :-)