diff options
author | Pierre Rossi <pierre.rossi@theqtcompany.com> | 2015-02-12 15:13:46 +0100 |
---|---|---|
committer | Pierre Rossi <pierre.rossi@theqtcompany.com> | 2015-02-13 14:11:20 +0000 |
commit | 53876e63be3a5aa1de038e3ecd593fdac721b78d (patch) | |
tree | 8471ed1b4ff1f1a703bfe83df3d8a2874ebe29c7 /src/webenginewidgets/api/qwebenginepage.h | |
parent | eee482929a81ae9d685a0ee140733227ceac6543 (diff) |
Add QWebChannel setter and getter to QWebEnginePage
This allows using the WebChannel integration from the widgets API.
Contains documentation, the underlying API for transport is tested
by the qml tests already.
Change-Id: If5520eddf5d1a9c917df890960e042f53baa42ce
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'src/webenginewidgets/api/qwebenginepage.h')
-rw-r--r-- | src/webenginewidgets/api/qwebenginepage.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webenginewidgets/api/qwebenginepage.h b/src/webenginewidgets/api/qwebenginepage.h index a194df831..8d8f3666a 100644 --- a/src/webenginewidgets/api/qwebenginepage.h +++ b/src/webenginewidgets/api/qwebenginepage.h @@ -48,6 +48,7 @@ QT_BEGIN_NAMESPACE class QMenu; +class QWebChannel; class QWebEngineHistory; class QWebEnginePage; class QWebEnginePagePrivate; @@ -232,6 +233,9 @@ public: QWebEngineSettings *settings() const; + QWebChannel *webChannel() const; + void setWebChannel(QWebChannel *); + Q_SIGNALS: void loadStarted(); void loadProgress(int progress); |