#include <tdehtml_iface.h>
Inherits DCOPObject.
Public Member Functions | |
TDEHTMLPartIface (TDEHTMLPart *) | |
Detailed Description
DCOP interface for TDEHTML.
Definition at line 32 of file tdehtml_iface.h.
Member Function Documentation
◆ activateNode
void TDEHTMLPartIface::activateNode | ( | ) |
Activate the node that currently has the focus (emulates pressing Return)
Definition at line 149 of file tdehtml_iface.cpp.
◆ autoloadImages
bool TDEHTMLPartIface::autoloadImages | ( | ) | 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.
Definition at line 98 of file tdehtml_iface.cpp.
◆ dndEnabled
bool TDEHTMLPartIface::dndEnabled | ( | ) | const |
Returns whether Dragn'n'Drop support is enabled or not.
Definition at line 68 of file tdehtml_iface.cpp.
◆ encoding
TQString TDEHTMLPartIface::encoding | ( | ) | const |
Returns the encoding the page currently uses.
Note that the encoding might be different from the charset.
Definition at line 123 of file tdehtml_iface.cpp.
◆ evalJS
TQString TDEHTMLPartIface::evalJS | ( | const TQString & | script | ) |
Evaluate a given piece of Javascript code.
Definition at line 226 of file tdehtml_iface.cpp.
◆ gotoAnchor
bool TDEHTMLPartIface::gotoAnchor | ( | const TQString & | name | ) |
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 tdehtml_iface.cpp.
◆ javaEnabled
bool TDEHTMLPartIface::javaEnabled | ( | ) | const |
Return if Java applet support is enabled/disabled.
Definition at line 78 of file tdehtml_iface.cpp.
◆ jScriptEnabled
bool TDEHTMLPartIface::jScriptEnabled | ( | ) | const |
Returns true
if Javascript support is enabled or false
otherwise.
Definition at line 48 of file tdehtml_iface.cpp.
◆ lastModified
TQString TDEHTMLPartIface::lastModified | ( | ) | const |
Last-modified date (in raw string format), if received in the [HTTP] headers.
Definition at line 163 of file tdehtml_iface.cpp.
◆ metaRefreshEnabled
bool TDEHTMLPartIface::metaRefreshEnabled | ( | ) | const |
Returns true
if automtaic forwarding is enabled.
Definition at line 58 of file tdehtml_iface.cpp.
◆ nextAnchor
bool TDEHTMLPartIface::nextAnchor | ( | ) |
Go to next Anchor.
This is useful to navigate from outside of the navigator.
- Since
- 3.2
Definition at line 139 of file tdehtml_iface.cpp.
◆ onlyLocalReferences
bool TDEHTMLPartIface::onlyLocalReferences | ( | ) | const |
Returns whether references should be loaded ( default false )
Definition at line 113 of file tdehtml_iface.cpp.
◆ pluginsEnabled
bool TDEHTMLPartIface::pluginsEnabled | ( | ) | const |
Returns trie if plugins are enabled/disabled.
Definition at line 88 of file tdehtml_iface.cpp.
◆ prevAnchor
bool TDEHTMLPartIface::prevAnchor | ( | ) |
void TDEHTMLPartIface::print | ( | bool | quick | ) |
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 tdehtml_iface.cpp.
◆ selectAll
void TDEHTMLPartIface::selectAll | ( | ) |
Marks all text in the document as selected.
Definition at line 158 of file tdehtml_iface.cpp.
◆ selectedText
TQString TDEHTMLPartIface::selectedText | ( | ) | const |
Returns the text the user has marked.
Definition at line 216 of file tdehtml_iface.cpp.
◆ setAutoloadImages
void TDEHTMLPartIface::setAutoloadImages | ( | bool | enable | ) |
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 tdehtml_iface.cpp.
◆ setDNDEnabled
void TDEHTMLPartIface::setDNDEnabled | ( | bool | b | ) |
Enables or disables Drag'n'Drop support.
A drag operation is started if the users drags a link.
Definition at line 63 of file tdehtml_iface.cpp.
◆ setEncoding
bool TDEHTMLPartIface::setEncoding | ( | const TQString & | name | ) |
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 tdehtml_iface.cpp.
◆ setFixedFont
void TDEHTMLPartIface::setFixedFont | ( | const TQString & | name | ) |
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 tdehtml_iface.cpp.
◆ setJavaEnabled
void TDEHTMLPartIface::setJavaEnabled | ( | bool | enable | ) |
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 tdehtml_iface.cpp.
◆ setJScriptEnabled
void TDEHTMLPartIface::setJScriptEnabled | ( | bool | enable | ) |
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 tdehtml_iface.cpp.
◆ setMetaRefreshEnabled
void TDEHTMLPartIface::setMetaRefreshEnabled | ( | bool | enable | ) |
Enable/disable the automatic forwarding by <meta http-equiv="refresh" ....
>
Definition at line 108 of file tdehtml_iface.cpp.
◆ setOnlyLocalReferences
void TDEHTMLPartIface::setOnlyLocalReferences | ( | bool | enable | ) |
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 tdehtml_iface.cpp.
◆ setPluginsEnabled
void TDEHTMLPartIface::setPluginsEnabled | ( | bool | enable | ) |
Enables or disables plugins via, default is enabled.
Definition at line 83 of file tdehtml_iface.cpp.
◆ setUserStyleSheet
void TDEHTMLPartIface::setUserStyleSheet | ( | const TQString & | styleSheet | ) |
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 tdehtml_iface.cpp.
◆ stopAnimations
void TDEHTMLPartIface::stopAnimations | ( | ) |
Stops display of animated images.
Definition at line 178 of file tdehtml_iface.cpp.
◆ url
KURL TDEHTMLPartIface::url | ( | ) | const |
- Returns
- the current URL
Definition at line 38 of file tdehtml_iface.cpp.
The documentation for this class was generated from the following files: