KParts
htmlextension.h
Go to the documentation of this file.
100 EntireContent = 0x01,
102 };
263 };
271 JavaScriptDunno=0,
274 };
282 JSWindowOpenAllow=0,
286 };
294 JSWindowStatusAllow=0,
296 };
304 JSWindowMoveAllow=0,
306 };
314 JSWindowResizeAllow=0,
316 };
324 JSWindowFocusAllow=0,
326 };
381inline void qSwap( KParts::SelectorInterface::Element & lhs, KParts::SelectorInterface::Element & rhs )
an extension for KParts to provide HTML-related features
Definition: htmlextension.h:46
virtual KUrl baseUrl() const =0
Returns the current base url of the part that implements this extension.
An interface for modifying the settings of browser engines.
Definition: htmlextension.h:246
virtual QVariant htmlSettingsProperty(HtmlSettingsType type) const =0
Returns the value of the browser engine's attribute type.
JSWindowResizePolicy
This enum specifies the policy for window.resizeBy and .resizeTo.
Definition: htmlextension.h:313
JSWindowMovePolicy
This enum specifies the policy for window.moveBy and .moveTo.
Definition: htmlextension.h:303
@ PrivateBrowsingEnabled
Definition: htmlextension.h:258
@ MetaRefreshEnabled
Definition: htmlextension.h:256
@ OfflineStorageDatabaseEnabled
Definition: htmlextension.h:259
@ DnsPrefetchEnabled
Definition: htmlextension.h:253
@ LocalStorageEnabled
Definition: htmlextension.h:261
@ OfflineWebApplicationCacheEnabled
Definition: htmlextension.h:260
JSWindowStatusPolicy
This enum specifies the policy for window.status and .defaultStatus.
Definition: htmlextension.h:293
virtual bool setHtmlSettingsProperty(HtmlSettingsType type, const QVariant &value)=0
Sets the value of the browser engine's attribute type to value.
JavaScriptAdvice
This enum specifies whether Java/JavaScript execution is allowed.
Definition: htmlextension.h:270
void swap(Element &other)
Swaps the contents of other with the contents of this.
Definition: htmlextension.h:207
Optional base class for HtmlExtension-derived classes Provides DOM Selector like API: querySelector a...
Definition: htmlextension.h:90
virtual Element querySelector(const QString &query, QueryMethod method) const =0
Returns the first (in document order) element in this fragment matching the given CSS selector query ...
virtual QList< Element > querySelectorAll(const QString &query, QueryMethod method) const =0
Returns all (in document order) elements in this fragment matching the given CSS selector query and q...
Q_DECLARE_TYPEINFO(KParts::SelectorInterface::Element, Q_MOVABLE_TYPE)
void qSwap(KParts::SelectorInterface::Element &lhs, KParts::SelectorInterface::Element &rhs)
Definition: htmlextension.h:381
QString defaultValue(const QString &t)
KAction * copy(const QObject *recvr, const char *slot, QObject *parent)
const char * name(StandardAction id)
None
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.