KHTML
khtml_iface.cc
Go to the documentation of this file.
208 KHTMLPopupGUIClient::saveURL( part->widget(), srcURL, KUrl( destination ), metaData, part->cacheId() );
void setAutoloadImages(bool enable)
Specifies whether images contained in the document should be loaded automatically or not...
Definition: khtml_iface.cc:93
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:270
bool autoloadImages() const
Returns whether images contained in the document are loaded automatically or not. ...
Definition: khtml_part.cpp:1478
void setUserStyleSheet(const KUrl &url)
Sets a user defined style sheet to be used on top of the HTML 4 default style sheet.
Definition: khtml_part.cpp:2696
KAction * back(const QObject *recvr, const char *slot, QObject *parent)
bool onlyLocalReferences() const
Returns whether only file:/ or data:/ references are allowed to be loaded ( default false )...
Definition: khtml_part.cpp:2793
bool setEncoding(const QString &name)
Sets the encoding the page uses.
Definition: khtml_iface.cc:118
static void saveURL(QWidget *parent, const QString &caption, const KUrl &url, const QMap< QString, QString > &metaData=KIO::MetaData(), const QString &filter=QString(), long cacheId=0, const QString &suggestedFilename=QString())
Definition: khtml_ext.cpp:859
QString evalJS(const QString &script)
Evaluate a given piece of Javascript code.
Definition: khtml_iface.cc:226
void setPluginsEnabled(bool enable)
Enables or disables plugins, default is enabled.
Definition: khtml_part.cpp:1382
Q_NOREPLY void print(bool quick)
Print the contents of the current html view.
Definition: khtml_iface.cc:231
void setUserStyleSheet(const QString &styleSheet)
Sets a user defined style sheet to be used on top of the HTML 4 default style sheet.
Definition: khtml_iface.cc:211
virtual QWidget * widget()
bool isEmpty() const
bool setEncoding(const QString &name, bool override=false)
Sets the encoding the page uses.
Definition: khtml_part.cpp:2654
KUrl url
bool metaRefreshEnabled() const
Returns true if automtaic forwarding is enabled.
bool dndEnabled() const
Returns whether Dragn'n'Drop support is enabled or not.
KHTMLView * view() const
Returns a pointer to the HTML document's view.
Definition: khtml_part.cpp:1059
void activateNode()
Activate the node that currently has the focus (emulates pressing Return)
Definition: khtml_iface.cc:149
void setMetaRefreshEnabled(bool enable)
Enable/disable automatic forwarding by
Definition: khtml_part.cpp:1128
bool javaEnabled() const
Return if Java applet support is enabled/disabled.
QString lastModified() const
Last-modified date (in raw string format), if received in the [HTTP] headers.
void setMetaRefreshEnabled(bool enable)
Enable/disable the automatic forwarding by
Definition: khtml_iface.cc:108
bool sendEvent(QObject *receiver, QEvent *event)
void setJavaEnabled(bool enable)
Enables/disables Java applet support.
Definition: khtml_part.cpp:1363
bool pluginsEnabled() const
Returns trie if plugins are enabled/disabled.
bool onlyLocalReferences() const
Returns whether references should be loaded ( default false )
QString url() const
void setFileName(const QString &_txt)
void setJScriptEnabled(bool enable)
Enable/disable Javascript support.
Definition: khtml_part.cpp:1097
bool jScriptEnabled() const
Returns true if Javascript support is enabled or false otherwise.
void setPluginsEnabled(bool enable)
Enables or disables plugins via, default is enabled.
Definition: khtml_iface.cc:83
QVariant executeScript(const DOM::Node &n, const QString &script)
Same as executeScript( const QString & ) except with the Node parameter specifying the 'this' value...
Definition: khtml_part.cpp:1326
virtual bool closeUrl()
Stops loading the document and kills all data requests (for images, etc.)
Definition: khtml_part.cpp:922
bool autoloadImages() const
Returns whether images contained in the document are loaded automatically or not. ...
virtual QString selectedText() const
Returns the text the user has marked.
Definition: khtml_part.cpp:3098
void setAutoloadImages(bool enable)
Specifies whether images contained in the document should be loaded automatically or not...
Definition: khtml_part.cpp:1450
bool jScriptEnabled() const
Returns true if Javascript support is enabled or false otherwise.
Definition: khtml_part.cpp:1106
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
KParts::ReadOnlyPart * currentFrame() const
Return the current frame (the one that has focus) Not necessarily a direct child of ours...
Definition: khtml_part.cpp:5299
QString toString() const
KUrl backgroundURL() const
Returns the URL for the background Image (used by save background)
Definition: khtml_part.cpp:3931
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.