.TH "KHTMLPartIface" 3 "28 Jan 2004" "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 "bool \fBcloseURL\fP ()"
.br
.ti -1c
.RI "void \fBsetJScriptEnabled\fP (bool enable)"
.br
.RI "\fIEnable/disable Javascript support. \fP"
.ti -1c
.RI "bool \fBjScriptEnabled\fP () const "
.br
.RI "\fIReturns \fCtrue\fP if Javascript support is enabled or \fCfalse\fP otherwise. \fP"
.ti -1c
.RI "void \fBsetMetaRefreshEnabled\fP (bool enable)"
.br
.RI "\fIEnable/disable the automatic forwarding by <meta http-equiv='refresh' ....>. \fP"
.ti -1c
.RI "bool \fBmetaRefreshEnabled\fP () const "
.br
.RI "\fIReturns \fCtrue\fP if automtaic forwarding is enabled. \fP"
.ti -1c
.RI "void \fBsetDNDEnabled\fP (bool b)"
.br
.RI "\fIEnables or disables Drag'n'Drop support. \fP"
.ti -1c
.RI "bool \fBdndEnabled\fP () const "
.br
.RI "\fIReturns whether Dragn'n'Drop support is enabled or not. \fP"
.ti -1c
.RI "void \fBsetJavaEnabled\fP (bool enable)"
.br
.RI "\fIEnables/disables Java applet support. \fP"
.ti -1c
.RI "bool \fBjavaEnabled\fP () const "
.br
.RI "\fIReturn if Java applet support is enabled/disabled. \fP"
.ti -1c
.RI "void \fBsetPluginsEnabled\fP (bool enable)"
.br
.RI "\fIEnables or disables plugins via, default is enabled. \fP"
.ti -1c
.RI "bool \fBpluginsEnabled\fP () const "
.br
.RI "\fIReturns trie if plugins are enabled/disabled. \fP"
.ti -1c
.RI "void \fBsetAutoloadImages\fP (bool enable)"
.br
.RI "\fISpecifies whether images contained in the document should be loaded automatically or not. \fP"
.ti -1c
.RI "bool \fBautoloadImages\fP () const "
.br
.RI "\fIReturns whether images contained in the document are loaded automatically or not. \fP"
.ti -1c
.RI "void \fBsetOnlyLocalReferences\fP (bool enable)"
.br
.RI "\fISecurity option. \fP"
.ti -1c
.RI "bool \fBonlyLocalReferences\fP () const "
.br
.RI "\fIReturnd whether references should be loaded ( default false ). \fP"
.ti -1c
.RI "bool \fBsetEncoding\fP (const  \fBQString\fP &name)"
.br
.RI "\fISets the encoding the page uses. \fP"
.ti -1c
.RI "\fBQString\fP \fBencoding\fP () const "
.br
.RI "\fIReturns the encoding the page currently uses. \fP"
.ti -1c
.RI "void \fBsetUserStyleSheet\fP (const  \fBQString\fP &styleSheet)"
.br
.RI "\fISets a user defined style sheet to be used on top of the HTML 4 default style sheet. \fP"
.ti -1c
.RI "void \fBsetFixedFont\fP (const  \fBQString\fP &name)"
.br
.RI "\fISets the fixed font style. \fP"
.ti -1c
.RI "bool \fBgotoAnchor\fP (const  \fBQString\fP &name)"
.br
.RI "\fIFinds the anchor named \fCname\fP. \fP"
.ti -1c
.RI "\fBQString\fP \fBselectedText\fP () const "
.br
.RI "\fIReturns the text the user has marked. \fP"
.ti -1c
.RI "void \fBselectAll\fP ()"
.br
.RI "\fIMarks all text in the document as selected. \fP"
.ti -1c
.RI "\fBQString\fP \fBlastModified\fP () const "
.br
.RI "\fILast-modified date (in raw string format), if received in the [HTTP] headers. \fP"
.ti -1c
.RI "void \fBdebugRenderTree\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
.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. Definition at line 31 of file khtml_iface.h.
.SH "Member Function Documentation"
.PP 
.SS "void KHTMLPartIface::setJScriptEnabled (bool enable)"
.PP
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.
.SS "bool KHTMLPartIface::jScriptEnabled () const"
.PP
Returns \fCtrue\fP if Javascript support is enabled or \fCfalse\fP otherwise. Definition at line 19 of file khtml_iface.cc.
.SS "void KHTMLPartIface::setMetaRefreshEnabled (bool enable)"
.PP
Enable/disable the automatic forwarding by <meta http-equiv='refresh' ....>. Definition at line 84 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::metaRefreshEnabled () const"
.PP
Returns \fCtrue\fP if automtaic forwarding is enabled. Definition at line 34 of file khtml_iface.cc.
.SS "void KHTMLPartIface::setDNDEnabled (bool b)"
.PP
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.
.SS "bool KHTMLPartIface::dndEnabled () const"
.PP
Returns whether Dragn'n'Drop support is enabled or not. Definition at line 44 of file khtml_iface.cc.
.SS "void KHTMLPartIface::setJavaEnabled (bool enable)"
.PP
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.
.SS "bool KHTMLPartIface::javaEnabled () const"
.PP
Return if Java applet support is enabled/disabled. Definition at line 54 of file khtml_iface.cc.
.SS "void KHTMLPartIface::setPluginsEnabled (bool enable)"
.PP
Enables or disables plugins via, default is enabled. Definition at line 59 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::pluginsEnabled () const"
.PP
Returns trie if plugins are enabled/disabled. Definition at line 64 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. \fBNote:\fP
.RS 4
Request will be ignored if called before \fBbegin\fP(). 
.RE
.PP
Definition at line 69 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::autoloadImages () const"
.PP
Returns whether images contained in the document are loaded automatically or not. \fBNote:\fP
.RS 4
that the returned information is unrelieable as long as no begin() was called. 
.RE
.PP
Definition at line 74 of file khtml_iface.cc.
.SS "void KHTMLPartIface::setOnlyLocalReferences (bool enable)"
.PP
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.
.SS "bool KHTMLPartIface::onlyLocalReferences () const"
.PP
Returnd whether references should be loaded ( default false ). Definition at line 89 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::setEncoding (const \fBQString\fP & name)"
.PP
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.
.SS "\fBQString\fP KHTMLPartIface::encoding () const"
.PP
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.
.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. This gives a wide range of possibilities to change the layout of the page. Definition at line 157 of file khtml_iface.cc.
.SS "void KHTMLPartIface::setFixedFont (const \fBQString\fP & name)"
.PP
Sets the fixed font style. \fBParameters:\fP
.RS 4
\fIname\fP The font name to use for fixed text, e.g. the \fC<pre>\fP tag. 
.RE
.PP
Definition at line 104 of file khtml_iface.cc.
.SS "bool KHTMLPartIface::gotoAnchor (const \fBQString\fP & name)"
.PP
Finds the anchor named \fCname\fP. If the anchor is found, the widget scrolls to the closest position. Returns \fCif\fP the anchor has been found. Definition at line 109 of file khtml_iface.cc.
.SS "\fBQString\fP KHTMLPartIface::selectedText () const"
.PP
Returns the text the user has marked. Definition at line 162 of file khtml_iface.cc.
.SS "void KHTMLPartIface::selectAll ()"
.PP
Marks all text in the document as selected. Definition at line 114 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. Definition at line 119 of file khtml_iface.cc.

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