Commit a69b8c50 authored by hausmann@webkit.org's avatar hausmann@webkit.org

2009-06-16 David Boddie <dboddie@trolltech.com>

        Reviewed by Simon Hausmann.

        Doc: Fixed QWebPage::forwardUnsupportedContent documentation and added
        more information about Web plugins.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 7560338d
......@@ -2143,10 +2143,12 @@ bool QWebPage::isContentEditable() const
/*!
\property QWebPage::forwardUnsupportedContent
\brief whether QWebPage should forward unsupported content through the
unsupportedContent signal
\brief whether QWebPage should forward unsupported content
If disabled the download of such content is aborted immediately.
If enabled, the unsupportedContent() signal is emitted with a network reply that
can be used to read the content.
If disabled, the download of such content is aborted immediately.
By default unsupported content is not forwarded.
*/
......
......@@ -223,17 +223,25 @@ QWebSettings *QWebSettings::globalSettings()
Each QWebPage object has its own QWebSettings object, which configures the
settings for that page. If a setting is not configured, then it is looked
up in the global settings object, which can be accessed using
QWebSettings::globalSettings().
globalSettings().
QWebSettings allows configuring font properties such as font size and font
family, the location of a custom stylesheet, and generic attributes like java
script, plugins, etc. The \l{QWebSettings::WebAttribute}{WebAttribute}
enum further describes this.
QWebSettings allows configuration of browser properties, such as font sizes and
families, the location of a custom style sheet, and generic attributes like
JavaScript and plugins. Individual attributes are set using the setAttribute()
function. The \l{QWebSettings::WebAttribute}{WebAttribute} enum further describes
each attribute.
QWebSettings also configures global properties such as the web page memory
cache and the web page icon database, local database storage and offline
QWebSettings also configures global properties such as the Web page memory
cache and the Web page icon database, local database storage and offline
applications storage.
\section1 Enabling Plugins
Support for browser plugins can enabled by setting the
\l{QWebSettings::PluginsEnabled}{PluginsEnabled} attribute. For many applications,
this attribute is enabled for all pages by setting it on the
\l{globalSettings()}{global settings object}.
\section1 Web Application Support
WebKit provides support for features specified in \l{HTML 5} that improve the
......
2009-06-16 David Boddie <dboddie@trolltech.com>
Reviewed by Simon Hausmann.
Doc: Fixed QWebPage::forwardUnsupportedContent documentation and added
more information about Web plugins.
* Api/qwebpage.cpp:
* Api/qwebsettings.cpp:
* docs/qtwebkit.qdoc:
2009-06-16 Morten Engvoldsen <morten.engvoldsen@nokia.com>
Reviewed by Ariya Hidayat.
......
......@@ -96,7 +96,8 @@
Since WebKit supports the Netscape Plugin API, Qt applications can display
Web pages that embed common plugins, as long as the user has the appropriate
binary files for those plugins installed.
binary files for those plugins installed and the \l{QWebSettings::PluginsEnabled}
attribute is set for the application.
The following locations are searched for plugins:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment