diff options
author | Armin Felder <armin.felder@osalliance.com> | 2019-03-03 16:52:20 +0100 |
---|---|---|
committer | Armin Felder <armin.felder@osalliance.com> | 2019-05-15 11:55:54 +0000 |
commit | 0a8a69d51042b95649dbdf471acb3c96228f372e (patch) | |
tree | 53223857ac193b3d55b798981e1d766e7ee62bb2 /src/webview/qwebviewinterface_p.h | |
parent | fac66332c76e2fc9c29aa2508a41cd9392825d25 (diff) |
Add QtWebView::WebView::httpUserAgent property
The httpUserAgent property allows to get and set the User Agent.
Task-number: QTBUG-68746
Change-Id: I12fb5da00b14ecba53e71c532f2c8401f8f2a009
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/webview/qwebviewinterface_p.h')
-rw-r--r-- | src/webview/qwebviewinterface_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webview/qwebviewinterface_p.h b/src/webview/qwebviewinterface_p.h index a3216da..d9e566c 100644 --- a/src/webview/qwebviewinterface_p.h +++ b/src/webview/qwebviewinterface_p.h @@ -63,6 +63,8 @@ class QWebViewInterface { public: virtual ~QWebViewInterface() {} + virtual QString httpUserAgent() const = 0; + virtual void setHttpUserAgent(const QString &httpUserAgent) = 0; virtual QUrl url() const = 0; virtual void setUrl(const QUrl &url) = 0; virtual bool canGoBack() const = 0; |