class KHTMLPartIface

# class KHTMLPartIface | DCOP interface for KHTML More...
Definition | `#include <khtml_iface.h>`
Inherits | DCOPObject (dcop) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KHTMLPartIface ( KHTMLPart * )
- virtual ~KHTMLPartIface ()

## Detailed Description

DCOP interface for KHTML

KHTMLPartIface ( KHTMLPart * ) | ### KHTMLPartIface

~KHTMLPartIface () | ### ~KHTMLPartIface

[virtual]

void setJScriptEnabled ( bool enable ) | ### setJScriptEnabled

[k_dcop]

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.

bool jScriptEnabled () | ### jScriptEnabled

[k_dcop const]

Returns `true` if Javascript support is enabled or `false` otherwise.

void setMetaRefreshEnabled ( bool enable ) | ### setMetaRefreshEnabled

[k_dcop]

Enable/disable the automatic forwarding by

bool metaRefreshEnabled () | ### metaRefreshEnabled

[k_dcop const]

Returns `true` if automtaic forwarding is enabled.

void setDNDEnabled ( bool b ) | ### setDNDEnabled

[k_dcop]

Enables or disables Drag'n'Drop support. A drag operation is started if the users drags a link.

bool dndEnabled () | ### dndEnabled

[k_dcop const]

Returns whether Dragn'n'Drop support is enabled or not.

void setJavaEnabled ( bool enable ) | ### setJavaEnabled

[k_dcop]

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.

bool javaEnabled () | ### javaEnabled

[k_dcop const]

Return if Java applet support is enabled/disabled.

void setPluginsEnabled ( bool enable ) | ### setPluginsEnabled

[k_dcop]

Enables or disables plugins via, default is enabled

bool pluginsEnabled () | ### pluginsEnabled

[k_dcop const]

Returns trie if plugins are enabled/disabled.

void setAutoloadImages ( bool enable ) | ### setAutoloadImages

[k_dcop]

Specifies whether images contained in the document should be loaded automatically or not.

@note Request will be ignored if called before begin().

bool autoloadImages () | ### autoloadImages

[k_dcop const]

Returns whether images contained in the document are loaded automatically or not. @note that the returned information is unrelieable as long as no begin() was called.

void setOnlyLocalReferences (bool enable) | ### setOnlyLocalReferences

[k_dcop]

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 )

bool onlyLocalReferences () | ### onlyLocalReferences

[k_dcop const]

Returnd whether references should be loaded ( default false )

bool setEncoding ( const QString &name ) | ### setEncoding

[k_dcop]

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.

QString encoding () | ### encoding

[k_dcop const]

Returns the encoding the page currently uses.

Note that the encoding might be different from the charset.

void setUserStyleSheet (const QString &styleSheet) | ### setUserStyleSheet

[k_dcop]

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.

void setFixedFont ( const QString &name ) | ### setFixedFont

[k_dcop]

Sets the fixed font style.

Parameters:

name | The font name to use for fixed text, e.g. the `<pre>` tag.

bool gotoAnchor ( const QString &name ) | ### gotoAnchor

[k_dcop]

Finds the anchor named `name`.

If the anchor is found, the widget scrolls to the closest position. Returns `if` the anchor has been found.

QString selectedText () | ### selectedText

[k_dcop const]

Returns the text the user has marked.

void selectAll () | ### selectAll

[k_dcop]

Marks all text in the document as selected.

QString lastModified () | ### lastModified

[k_dcop const]

Last-modified date (in raw string format), if received in the [HTTP] headers.

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:43 2003, using kdoc 2.0a54.