.TH "KHTMLPartIface" kde3 "11 Jun 2005" "Version Version 3.4.1" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KHTMLPartIface \- DCOP interface for KHTML.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <khtml_iface.h>\fP
.PP
Inherits DCOPObject.
.PP
.SS "DCOP Member Functions"

.in +1c
.ti -1c
.RI "\fBKURL\fP \fBurl\fP () const "
.br
.ti -1c
.RI "bool \fBcloseURL\fP ()"
.br
.ti -1c
.RI "void \fBsetJScriptEnabled\fP (bool enable)"
.br
.ti -1c
.RI "bool \fBjScriptEnabled\fP () const "
.br
.ti -1c
.RI "void \fBsetMetaRefreshEnabled\fP (bool enable)"
.br
.ti -1c
.RI "bool \fBmetaRefreshEnabled\fP () const "
.br
.ti -1c
.RI "void \fBsetDNDEnabled\fP (bool b)"
.br
.ti -1c
.RI "bool \fBdndEnabled\fP () const "
.br
.ti -1c
.RI "void \fBsetJavaEnabled\fP (bool enable)"
.br
.ti -1c
.RI "bool \fBjavaEnabled\fP () const "
.br
.ti -1c
.RI "void \fBsetPluginsEnabled\fP (bool enable)"
.br
.ti -1c
.RI "bool \fBpluginsEnabled\fP () const "
.br
.ti -1c
.RI "void \fBsetAutoloadImages\fP (bool enable)"
.br
.ti -1c
.RI "bool \fBautoloadImages\fP () const "
.br
.ti -1c
.RI "void \fBsetOnlyLocalReferences\fP (bool enable)"
.br
.ti -1c
.RI "bool \fBonlyLocalReferences\fP () const "
.br
.ti -1c
.RI "bool \fBsetEncoding\fP (const \fBQString\fP &name)"
.br
.ti -1c
.RI "\fBQString\fP \fBencoding\fP () const "
.br
.ti -1c
.RI "void \fBsetUserStyleSheet\fP (const \fBQString\fP &styleSheet)"
.br
.ti -1c
.RI "void \fBsetFixedFont\fP (const \fBQString\fP &name)"
.br
.ti -1c
.RI "bool \fBgotoAnchor\fP (const \fBQString\fP &name)"
.br
.ti -1c
.RI "bool \fBnextAnchor\fP ()"
.br
.ti -1c
.RI "bool \fBprevAnchor\fP ()"
.br
.ti -1c
.RI "void \fBactivateNode\fP ()"
.br
.ti -1c
.RI "\fBQString\fP \fBselectedText\fP () const "
.br
.ti -1c
.RI "void \fBselectAll\fP ()"
.br
.ti -1c
.RI "\fBQString\fP \fBlastModified\fP () const "
.br
.ti -1c
.RI "ASYNC \fBprint\fP (bool quick)"
.br
.ti -1c
.RI "void \fBdebugRenderTree\fP ()"
.br
.ti -1c
.RI "void \fBdebugDOMTree\fP ()"
.br
.ti -1c
.RI "void \fBviewDocumentSource\fP ()"
.br
.ti -1c
.RI "void \fBviewFrameSource\fP ()"
.br
.ti -1c
.RI "void \fBsaveBackground\fP (const \fBQString\fP &url)"
.br
.ti -1c
.RI "void \fBsaveDocument\fP (const \fBQString\fP &url)"
.br
.ti -1c
.RI "\fBQString\fP \fBevalJS\fP (const \fBQString\fP &script)"
.br
.ti -1c
.RI "void \fBstopAnimations\fP ()"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKHTMLPartIface\fP (\fBKHTMLPart\fP *)"
.br
.in -1c
.SH "Detailed Description"
.PP 
DCOP interface for KHTML. 
.PP
Definition at line 32 of file khtml_iface.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBKURL\fP KHTMLPartIface::url () const"
.PP
\fBReturns:\fP
.RS 4
the current URL 
.RE
.PP

.PP
Definition at line 38 of file khtml_iface.cc.
.SS "void KHTMLPartIface::setJScriptEnabled (bool enable)"
.PP
Enable/disable Javascript support. 
.PP
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. 
.PP
Definition at line 43 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::jScriptEnabled () const"
.PP
Returns \fCtrue\fP if Javascript support is enabled or \fCfalse\fP otherwise. 
.PP
Definition at line 48 of file khtml_iface.cc.
.SS "void KHTMLPartIface::setMetaRefreshEnabled (bool enable)"
.PP
Enable/disable the automatic forwarding by <meta http-equiv='refresh' ....>. 
.PP
Definition at line 108 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::metaRefreshEnabled () const"
.PP
Returns \fCtrue\fP if automtaic forwarding is enabled. 
.PP
Definition at line 58 of file khtml_iface.cc.
.SS "void KHTMLPartIface::setDNDEnabled (bool b)"
.PP
Enables or disables Drag'n'Drop support. 
.PP
A drag operation is started if the users drags a link. 
.PP
Definition at line 63 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::dndEnabled () const"
.PP
Returns whether Dragn'n'Drop support is enabled or not. 
.PP
Definition at line 68 of file khtml_iface.cc.
.SS "void KHTMLPartIface::setJavaEnabled (bool enable)"
.PP
Enables/disables Java applet support. 
.PP
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. 
.PP
Definition at line 73 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::javaEnabled () const"
.PP
Return if Java applet support is enabled/disabled. 
.PP
Definition at line 78 of file khtml_iface.cc.
.SS "void KHTMLPartIface::setPluginsEnabled (bool enable)"
.PP
Enables or disables plugins via, default is enabled. 
.PP
Definition at line 83 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::pluginsEnabled () const"
.PP
Returns trie if plugins are enabled/disabled. 
.PP
Definition at line 88 of file khtml_iface.cc.
.SS "void KHTMLPartIface::setAutoloadImages (bool enable)"
.PP
Specifies whether images contained in the document should be loaded automatically or not. 
.PP
\fBNote:\fP
.RS 4
Request will be ignored if called before begin(). 
.RE
.PP

.PP
Definition at line 93 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::autoloadImages () const"
.PP
Returns whether images contained in the document are loaded automatically or not. 
.PP
\fBNote:\fP
.RS 4
that the returned information is unrelieable as long as no begin() was called. 
.RE
.PP

.PP
Definition at line 98 of file khtml_iface.cc.
.SS "void KHTMLPartIface::setOnlyLocalReferences (bool enable)"
.PP
Security option. 
.PP
Specify whether only local references ( stylesheets, images, scripts, subdocuments ) should be loaded. ( default false - everything is loaded, if the more specific options allow ) 
.PP
Definition at line 103 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::onlyLocalReferences () const"
.PP
Returns whether references should be loaded ( default false ). 
.PP
Definition at line 113 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::setEncoding (const \fBQString\fP & name)"
.PP
Sets the encoding the page uses. 
.PP
This can be different from the charset. The widget will try to reload the current page in the new encoding, if \fBurl()\fP is not empty. 
.PP
Definition at line 118 of file khtml_iface.cc.
.SS "\fBQString\fP KHTMLPartIface::encoding () const"
.PP
Returns the encoding the page currently uses. 
.PP
Note that the encoding might be different from the charset. 
.PP
Definition at line 123 of file khtml_iface.cc.
.SS "void KHTMLPartIface::setUserStyleSheet (const \fBQString\fP & styleSheet)"
.PP
Sets a user defined style sheet to be used on top of the HTML 4 default style sheet. 
.PP
This gives a wide range of possibilities to change the layout of the page. 
.PP
Definition at line 211 of file khtml_iface.cc.
.SS "void KHTMLPartIface::setFixedFont (const \fBQString\fP & name)"
.PP
Sets the fixed font style. 
.PP
\fBParameters:\fP
.RS 4
\fIname\fP The font name to use for fixed text, e.g. the \fC<pre>\fP tag. 
.RE
.PP

.PP
Definition at line 128 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::gotoAnchor (const \fBQString\fP & name)"
.PP
Finds the anchor named \fCname\fP. 
.PP
If the anchor is found, the widget scrolls to the closest position. Returns \fCtrue\fP if the anchor has been found. 
.PP
Definition at line 134 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::nextAnchor ()"
.PP
Go to next Anchor. 
.PP
This is useful to navigate from outside of the navigator. 
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 139 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::prevAnchor ()"
.PP
Go to previous Anchor. 
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 144 of file khtml_iface.cc.
.SS "void KHTMLPartIface::activateNode ()"
.PP
Activate the node that currently has the focus (emulates pressing Return). 
.PP
Definition at line 149 of file khtml_iface.cc.
.SS "\fBQString\fP KHTMLPartIface::selectedText () const"
.PP
Returns the text the user has marked. 
.PP
Definition at line 216 of file khtml_iface.cc.
.SS "void KHTMLPartIface::selectAll ()"
.PP
Marks all text in the document as selected. 
.PP
Definition at line 158 of file khtml_iface.cc.
.SS "\fBQString\fP KHTMLPartIface::lastModified () const"
.PP
Last-modified date (in raw string format), if received in the [HTTP] headers. 
.PP
Definition at line 163 of file khtml_iface.cc.
.SS "void KHTMLPartIface::print (bool quick)"
.PP
Print the contents of the current html view. 
.PP
\fBParameters:\fP
.RS 4
\fIquick\fP if true, fully automated printing, without the print dialog. 
.RE
.PP

.PP
Definition at line 231 of file khtml_iface.cc.
.SS "\fBQString\fP KHTMLPartIface::evalJS (const \fBQString\fP & script)"
.PP
Evaluate a given piece of Javascript code. 
.PP
Definition at line 226 of file khtml_iface.cc.
.SS "void KHTMLPartIface::stopAnimations ()"
.PP
Stops display of animated images. 
.PP
Definition at line 178 of file khtml_iface.cc.

.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
