KHTMLPartIface Class Reference
DCOP interface for KHTML. More...
#include <khtml_iface.h>
DCOP Methods | |
void | setJScriptEnabled (bool enable) |
Enable/disable Javascript support. | |
bool | jScriptEnabled () const |
Returns true if Javascript support is enabled or false otherwise. | |
void | setMetaRefreshEnabled (bool enable) |
Enable/disable the automatic forwarding by . | |
bool | metaRefreshEnabled () const |
Returns true if automtaic forwarding is enabled. | |
void | setDNDEnabled (bool b) |
Enables or disables Drag'n'Drop support. | |
bool | dndEnabled () const |
Returns whether Dragn'n'Drop support is enabled or not. | |
void | setJavaEnabled (bool enable) |
Enables/disables Java applet support. | |
bool | javaEnabled () const |
Return if Java applet support is enabled/disabled. | |
void | setPluginsEnabled (bool enable) |
Enables or disables plugins via, default is enabled. | |
bool | pluginsEnabled () const |
Returns trie if plugins are enabled/disabled. | |
void | setAutoloadImages (bool enable) |
Specifies whether images contained in the document should be loaded automatically or not. | |
bool | autoloadImages () const |
Returns whether images contained in the document are loaded automatically or not. | |
void | setOnlyLocalReferences (bool enable) |
Security option. | |
bool | onlyLocalReferences () const |
Returnd whether references should be loaded ( default false ). | |
bool | setEncoding (const QString &name) |
Sets the encoding the page uses. | |
QString | encoding () const |
Returns the encoding the page currently uses. | |
void | setUserStyleSheet (const QString &styleSheet) |
Sets a user defined style sheet to be used on top of the HTML 4 default style sheet. | |
void | setFixedFont (const QString &name) |
Sets the fixed font style. | |
bool | gotoAnchor (const QString &name) |
Finds the anchor named name . | |
QString | selectedText () const |
Returns the text the user has marked. | |
void | selectAll () |
Marks all text in the document as selected. | |
QString | lastModified () const |
Last-modified date (in raw string format), if received in the [HTTP] headers. |
Detailed Description
DCOP interface for KHTML.
Definition at line 31 of file khtml_iface.h.
Member Function Documentation
|
Enable/disable Javascript support. Note that this will in either case permanently override the default usersetting. If you want to have the default UserSettings, don't call this method. Definition at line 14 of file khtml_iface.cc. |
|
Returns
Definition at line 19 of file khtml_iface.cc. |
|
Enable/disable the automatic forwarding by .
Definition at line 84 of file khtml_iface.cc. |
|
Returns
Definition at line 34 of file khtml_iface.cc. |
|
Enables or disables Drag'n'Drop support. A drag operation is started if the users drags a link. Definition at line 39 of file khtml_iface.cc. |
|
Returns whether Dragn'n'Drop support is enabled or not.
Definition at line 44 of file khtml_iface.cc. |
|
Enables/disables Java applet support. Note that calling this function will permanently override the User settings about Java applet support. Not calling this function is the only way to let the default settings apply. Definition at line 49 of file khtml_iface.cc. |
|
Return if Java applet support is enabled/disabled.
Definition at line 54 of file khtml_iface.cc. |
|
Enables or disables plugins via, default is enabled.
Definition at line 59 of file khtml_iface.cc. |
|
Returns trie if plugins are enabled/disabled.
Definition at line 64 of file khtml_iface.cc. |
|
Specifies whether images contained in the document should be loaded automatically or not.
Definition at line 69 of file khtml_iface.cc. |
|
Returns whether images contained in the document are loaded automatically or not.
Definition at line 74 of file khtml_iface.cc. |
|
Security option. Specify whether only local references ( stylesheets, images, scripts, subdocuments ) should be loaded. ( default false - everything is loaded, if the more specific options allow ) Definition at line 79 of file khtml_iface.cc. |
|
Returnd whether references should be loaded ( default false ).
Definition at line 89 of file khtml_iface.cc. |
|
Sets the encoding the page uses. This can be different from the charset. The widget will try to reload the current page in the new encoding, if url() is not empty. Definition at line 94 of file khtml_iface.cc. |
|
Returns the encoding the page currently uses. Note that the encoding might be different from the charset. Definition at line 99 of file khtml_iface.cc. |
|
Sets a user defined style sheet to be used on top of the HTML 4 default style sheet. This gives a wide range of possibilities to change the layout of the page. Definition at line 157 of file khtml_iface.cc. |
|
Sets the fixed font style.
Definition at line 104 of file khtml_iface.cc. |
|
Finds the anchor named
If the anchor is found, the widget scrolls to the closest position. Returns Definition at line 109 of file khtml_iface.cc. |
|
Returns the text the user has marked.
Definition at line 162 of file khtml_iface.cc. |
|
Marks all text in the document as selected.
Definition at line 114 of file khtml_iface.cc. |
|
Last-modified date (in raw string format), if received in the [HTTP] headers.
Definition at line 119 of file khtml_iface.cc. |
The documentation for this class was generated from the following files: