diff options
author | Christian Strømme <christian.stromme@theqtcompany.com> | 2015-01-20 16:40:56 +0100 |
---|---|---|
committer | Christian Stromme <christian.stromme@theqtcompany.com> | 2015-02-09 16:36:08 +0000 |
commit | adbc7e878fe68f5e1d05745ecb6a40ce7a4b31df (patch) | |
tree | 90626d8250a65493f52aa99b130de7be1eab71a1 /src/webview/qwebviewinterface_p.h | |
parent | b8fc57ba4aa5b25ae31df0ec74c62730dd0fa9d0 (diff) |
Add loadHtml() function on Android and iOS.
This adds a loadHtml() function to the WebView, making it possible for
the user to set the HTML content of the WebView.
[ChangeLog][WebView] Added loadHtml() function.
Task-number: QTBUG-42335
Change-Id: I8a044e4fb2c0fc4bacff049f02a8cb525d593e15
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/webview/qwebviewinterface_p.h')
-rw-r--r-- | src/webview/qwebviewinterface_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webview/qwebviewinterface_p.h b/src/webview/qwebviewinterface_p.h index ef02042..7cc9dc4 100644 --- a/src/webview/qwebviewinterface_p.h +++ b/src/webview/qwebviewinterface_p.h @@ -76,6 +76,7 @@ public: virtual void goForward() = 0; virtual void stop() = 0; virtual void reload() = 0; + virtual void loadHtml(const QString &html, const QUrl &baseUrl = QUrl()) = 0; virtual void runJavaScriptPrivate(const QString &script, int callbackId) = 0; |