KHTML
khtml_iface.cc
Go to the documentation of this file.
208 KHTMLPopupGUIClient::saveURL( part->widget(), srcURL, KUrl( destination ), metaData, part->cacheId() );
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:271
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
Q_NOREPLY void print(bool quick)
Print the contents of the current html view.
Definition: khtml_iface.cc:231
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 via, default is enabled.
Definition: khtml_iface.cc:83
void setMetaRefreshEnabled(bool enable)
Enable/disable the automatic forwarding by <meta http-equiv="refresh" ....
Definition: khtml_iface.cc:108
void setAutoloadImages(bool enable)
Specifies whether images contained in the document should be loaded automatically or not.
Definition: khtml_iface.cc:93
void activateNode()
Activate the node that currently has the focus (emulates pressing Return)
Definition: khtml_iface.cc:149
bool jScriptEnabled() const
Returns true if Javascript support is enabled or false otherwise.
Definition: khtml_part.cpp:1106
bool autoloadImages() const
Returns whether images contained in the document are loaded automatically or not.
Definition: khtml_part.cpp:1478
KHTMLView * view() const
Returns a pointer to the HTML document's view.
Definition: khtml_part.cpp:1059
void setMetaRefreshEnabled(bool enable)
Enable/disable automatic forwarding by <meta http-equiv="refresh" ....
Definition: khtml_part.cpp:1128
bool setEncoding(const QString &name, bool override=false)
Sets the encoding the page uses.
Definition: khtml_part.cpp:2654
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
KUrl backgroundURL() const
Returns the URL for the background Image (used by save background)
Definition: khtml_part.cpp:3931
bool onlyLocalReferences() const
Returns whether only file:/ or data:/ references are allowed to be loaded ( default false ).
Definition: khtml_part.cpp:2793
virtual bool closeUrl()
Stops loading the document and kills all data requests (for images, etc.)
Definition: khtml_part.cpp:922
void setJScriptEnabled(bool enable)
Enable/disable Javascript support.
Definition: khtml_part.cpp:1097
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 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
void setJavaEnabled(bool enable)
Enables/disables Java applet support.
Definition: khtml_part.cpp:1363
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
void setPluginsEnabled(bool enable)
Enables or disables plugins, default is enabled.
Definition: khtml_part.cpp:1382
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
virtual QWidget * widget()
KUrl url
ObeyTrailingSlash
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
void setFileName(const QString &_txt)
QString fileName(const DirectoryOptions &options=IgnoreTrailingSlash) const
KAction * back(const QObject *recvr, const char *slot, QObject *parent)
const char * name(StandardAction id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.