KHTML
#include <khtml_iface.h>
D-BUS interface for KHTML.
Definition at line 32 of file khtml_iface.h.
KHTMLPartIface::KHTMLPartIface |
( |
KHTMLPart * |
_part | ) |
|
KHTMLPartIface::~KHTMLPartIface |
( |
| ) |
|
|
virtual |
void KHTMLPartIface::activateNode |
( |
| ) |
|
|
slot |
Activate the node that currently has the focus (emulates pressing Return)
Definition at line 149 of file khtml_iface.cc.
bool KHTMLPartIface::autoloadImages |
( |
| ) |
const |
|
slot |
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.
bool KHTMLPartIface::closeUrl |
( |
| ) |
|
|
slot |
void KHTMLPartIface::configurationChanged |
( |
| ) |
|
|
signal |
void KHTMLPartIface::debugDOMTree |
( |
| ) |
|
|
slot |
void KHTMLPartIface::debugRenderTree |
( |
| ) |
|
|
slot |
bool KHTMLPartIface::dndEnabled |
( |
| ) |
const |
|
slot |
Returns whether Dragn'n'Drop support is enabled or not.
QString KHTMLPartIface::encoding |
( |
| ) |
const |
|
slot |
Returns the encoding the page currently uses.
Note that the encoding might be different from the charset.
Evaluate a given piece of Javascript code.
Definition at line 226 of file khtml_iface.cc.
bool KHTMLPartIface::gotoAnchor |
( |
const QString & |
name | ) |
|
|
slot |
Finds the anchor named name
.
If the anchor is found, the widget scrolls to the closest position. Returns true
if the anchor has been found.
Definition at line 134 of file khtml_iface.cc.
bool KHTMLPartIface::javaEnabled |
( |
| ) |
const |
|
slot |
Return if Java applet support is enabled/disabled.
bool KHTMLPartIface::jScriptEnabled |
( |
| ) |
const |
|
slot |
Returns true
if Javascript support is enabled or false
otherwise.
QString KHTMLPartIface::lastModified |
( |
| ) |
const |
|
slot |
Last-modified date (in raw string format), if received in the [HTTP] headers.
bool KHTMLPartIface::metaRefreshEnabled |
( |
| ) |
const |
|
slot |
Returns true
if automtaic forwarding is enabled.
bool KHTMLPartIface::nextAnchor |
( |
| ) |
|
|
slot |
Go to next Anchor.
This is useful to navigate from outside of the navigator.
Definition at line 139 of file khtml_iface.cc.
bool KHTMLPartIface::onlyLocalReferences |
( |
| ) |
const |
|
slot |
Returns whether references should be loaded ( default false )
bool KHTMLPartIface::pluginsEnabled |
( |
| ) |
const |
|
slot |
Returns trie if plugins are enabled/disabled.
bool KHTMLPartIface::prevAnchor |
( |
| ) |
|
|
slot |
void KHTMLPartIface::print |
( |
bool |
quick | ) |
|
|
slot |
Print the contents of the current html view.
- Parameters
-
quick | if true, fully automated printing, without the print dialog. |
Definition at line 231 of file khtml_iface.cc.
void KHTMLPartIface::saveBackground |
( |
const QString & |
url | ) |
|
|
slot |
void KHTMLPartIface::saveDocument |
( |
const QString & |
url | ) |
|
|
slot |
void KHTMLPartIface::selectAll |
( |
| ) |
|
|
slot |
Marks all text in the document as selected.
Definition at line 158 of file khtml_iface.cc.
QString KHTMLPartIface::selectedText |
( |
| ) |
const |
|
slot |
void KHTMLPartIface::setAutoloadImages |
( |
bool |
enable | ) |
|
|
slot |
Specifies whether images contained in the document should be loaded automatically or not.
- Note
- Request will be ignored if called before begin().
Definition at line 93 of file khtml_iface.cc.
void KHTMLPartIface::setDndEnabled |
( |
bool |
b | ) |
|
|
slot |
Enables or disables Drag'n'Drop support.
A drag operation is started if the users drags a link.
Definition at line 63 of file khtml_iface.cc.
bool KHTMLPartIface::setEncoding |
( |
const QString & |
name | ) |
|
|
slot |
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 118 of file khtml_iface.cc.
void KHTMLPartIface::setFixedFont |
( |
const QString & |
name | ) |
|
|
slot |
Sets the fixed font style.
- Parameters
-
name | The font name to use for fixed text, e.g. the <pre> tag. |
Definition at line 128 of file khtml_iface.cc.
void KHTMLPartIface::setJavaEnabled |
( |
bool |
enable | ) |
|
|
slot |
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 73 of file khtml_iface.cc.
void KHTMLPartIface::setJScriptEnabled |
( |
bool |
enable | ) |
|
|
slot |
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 43 of file khtml_iface.cc.
void KHTMLPartIface::setMetaRefreshEnabled |
( |
bool |
enable | ) |
|
|
slot |
Enable/disable the automatic forwarding by <meta http-equiv="refresh" ....
>
Definition at line 108 of file khtml_iface.cc.
void KHTMLPartIface::setOnlyLocalReferences |
( |
bool |
enable | ) |
|
|
slot |
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 103 of file khtml_iface.cc.
void KHTMLPartIface::setPluginsEnabled |
( |
bool |
enable | ) |
|
|
slot |
Enables or disables plugins via, default is enabled.
Definition at line 83 of file khtml_iface.cc.
void KHTMLPartIface::setUserStyleSheet |
( |
const QString & |
styleSheet | ) |
|
|
slot |
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 211 of file khtml_iface.cc.
void KHTMLPartIface::stopAnimations |
( |
| ) |
|
|
slot |
QString KHTMLPartIface::url |
( |
| ) |
const |
|
slot |
void KHTMLPartIface::viewDocumentSource |
( |
| ) |
|
|
slot |
void KHTMLPartIface::viewFrameSource |
( |
| ) |
|
|
slot |
bool KHTMLPartIface::autoloadImages |
|
readwrite |
bool KHTMLPartIface::dndEnabled |
|
readwrite |
bool KHTMLPartIface::javaEnabled |
|
readwrite |
bool KHTMLPartIface::jScriptEnabled |
|
readwrite |
QString KHTMLPartIface::lastModified |
|
read |
bool KHTMLPartIface::metaRefreshEnabled |
|
readwrite |
bool KHTMLPartIface::onlyLocalReferences |
|
readwrite |
bool KHTMLPartIface::pluginsEnabled |
|
readwrite |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:23 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.