diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-07-08 14:14:21 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-07-17 11:33:07 +0000 |
commit | c53fd1412efebbbf11798fb81735a520c72464e0 (patch) | |
tree | 8e3bb3341995cade606eb8478388509cf6f58efc /src/webengine/api/qquickwebenginesettings_p.h | |
parent | e3a2cea65ab39e111496b9d4caa8c4807ad41894 (diff) |
Export fullscreen support setting to QML API
Let applications tell QtWebEngine whether they support the fullscreen
API or not.
Change-Id: I97681cf1c68a9d7a3b8bb7dcca861ec0b0a79ed6
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'src/webengine/api/qquickwebenginesettings_p.h')
-rw-r--r-- | src/webengine/api/qquickwebenginesettings_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webengine/api/qquickwebenginesettings_p.h b/src/webengine/api/qquickwebenginesettings_p.h index f077c0ee2..dce060c9f 100644 --- a/src/webengine/api/qquickwebenginesettings_p.h +++ b/src/webengine/api/qquickwebenginesettings_p.h @@ -61,6 +61,7 @@ class Q_WEBENGINE_PRIVATE_EXPORT QQuickWebEngineSettings : public QObject { Q_PROPERTY(bool hyperlinkAuditingEnabled READ hyperlinkAuditingEnabled WRITE setHyperlinkAuditingEnabled NOTIFY hyperlinkAuditingEnabledChanged) Q_PROPERTY(bool errorPageEnabled READ errorPageEnabled WRITE setErrorPageEnabled NOTIFY errorPageEnabledChanged) Q_PROPERTY(bool pluginsEnabled READ pluginsEnabled WRITE setPluginsEnabled NOTIFY pluginsEnabledChanged) + Q_PROPERTY(bool fullscreenSupportEnabled READ fullscreenSupportEnabled WRITE setFullscreenSupportEnabled NOTIFY fullscreenSupportEnabledChanged REVISION 1) Q_PROPERTY(QString defaultTextEncoding READ defaultTextEncoding WRITE setDefaultTextEncoding NOTIFY defaultTextEncodingChanged) public: @@ -78,6 +79,7 @@ public: bool hyperlinkAuditingEnabled() const; bool errorPageEnabled() const; bool pluginsEnabled() const; + bool fullscreenSupportEnabled() const; QString defaultTextEncoding() const; void setAutoLoadImages(bool on); @@ -92,6 +94,7 @@ public: void setHyperlinkAuditingEnabled(bool on); void setErrorPageEnabled(bool on); void setPluginsEnabled(bool on); + void setFullscreenSupportEnabled(bool on); void setDefaultTextEncoding(QString encoding); signals: @@ -107,6 +110,7 @@ signals: void hyperlinkAuditingEnabledChanged(); void errorPageEnabledChanged(); void pluginsEnabledChanged(); + Q_REVISION(1) void fullscreenSupportEnabledChanged(); void defaultTextEncodingChanged(); private: |