• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KHTML

Public Member Functions | List of all members
KHTMLHtmlExtension Class Reference

#include <khtml_ext.h>

Inheritance diagram for KHTMLHtmlExtension:
KParts::HtmlExtension KParts::SelectorInterface KParts::HtmlSettingsInterface QObject

Public Member Functions

 KHTMLHtmlExtension (KHTMLPart *part)
virtual KUrl baseUrl () const
virtual bool hasSelection () const
virtual QVariant htmlSettingsProperty (HtmlSettingsType type) const
KHTMLPart * part () const
virtual Element querySelector (const QString &query, QueryMethod method) const
virtual QList< Element > querySelectorAll (const QString &query, QueryMethod method) const
virtual bool setHtmlSettingsProperty (HtmlSettingsType type, const QVariant &value)
virtual QueryMethods supportedQueryMethods () const
Public Member Functions inherited from KParts::HtmlExtension
 HtmlExtension (KParts::ReadOnlyPart *parent)
 ~HtmlExtension ()
Public Member Functions inherited from KParts::SelectorInterface
virtual ~SelectorInterface ()
Public Member Functions inherited from KParts::HtmlSettingsInterface
virtual ~HtmlSettingsInterface ()

Additional Inherited Members

Public Types inherited from KParts::SelectorInterface
enum  QueryMethod
Public Types inherited from KParts::HtmlSettingsInterface
enum  HtmlSettingsType
enum  JavaScriptAdvice
enum  JSWindowFocusPolicy
enum  JSWindowMovePolicy
enum  JSWindowOpenPolicy
enum  JSWindowResizePolicy
enum  JSWindowStatusPolicy
Static Public Member Functions inherited from KParts::HtmlExtension
static HtmlExtension * childObject (QObject *obj)
Static Public Member Functions inherited from KParts::HtmlSettingsInterface
static const char * javascriptAdviceToText (JavaScriptAdvice advice)
static void splitDomainAdvice (const QString &text, QString &domain, JavaScriptAdvice &javaAdvice, JavaScriptAdvice &javaScriptAdvice)
static JavaScriptAdvice textToJavascriptAdvice (const QString &text)
Public Attributes inherited from KParts::SelectorInterface
 EntireContent
 None
 SelectedContent
Public Attributes inherited from KParts::HtmlSettingsInterface
 AutoLoadImages
 DnsPrefetchEnabled
 JavaEnabled
 JavaScriptAccept
 JavaScriptDunno
 JavascriptEnabled
 JavaScriptReject
 JSWindowFocusAllow
 JSWindowFocusIgnore
 JSWindowMoveAllow
 JSWindowMoveIgnore
 JSWindowOpenAllow
 JSWindowOpenAsk
 JSWindowOpenDeny
 JSWindowOpenSmart
 JSWindowResizeAllow
 JSWindowResizeIgnore
 JSWindowStatusAllow
 JSWindowStatusIgnore
 LocalStorageEnabled
 MetaRefreshEnabled
 OfflineStorageDatabaseEnabled
 OfflineWebApplicationCacheEnabled
 PluginsEnabled
 PrivateBrowsingEnabled
 UserDefinedStyleSheetURL

Detailed Description

Implements the HtmlExtension interface

Definition at line 198 of file khtml_ext.h.

Constructor & Destructor Documentation

◆ KHTMLHtmlExtension()

KHTMLHtmlExtension::KHTMLHtmlExtension ( KHTMLPart * part)

Definition at line 1100 of file khtml_ext.cpp.

Member Function Documentation

◆ baseUrl()

KUrl KHTMLHtmlExtension::baseUrl ( ) const
virtual

Implements KParts::HtmlExtension.

Definition at line 1105 of file khtml_ext.cpp.

◆ hasSelection()

bool KHTMLHtmlExtension::hasSelection ( ) const
virtual

Reimplemented from KParts::HtmlExtension.

Definition at line 1110 of file khtml_ext.cpp.

◆ htmlSettingsProperty()

QVariant KHTMLHtmlExtension::htmlSettingsProperty ( HtmlSettingsType type) const
virtual

Implements KParts::HtmlSettingsInterface.

Definition at line 1212 of file khtml_ext.cpp.

◆ part()

KHTMLPart * KHTMLHtmlExtension::part ( ) const

Definition at line 1282 of file khtml_ext.cpp.

◆ querySelector()

KParts::SelectorInterface::Element KHTMLHtmlExtension::querySelector ( const QString & query,
QueryMethod method ) const
virtual

Implements KParts::SelectorInterface.

Definition at line 1135 of file khtml_ext.cpp.

◆ querySelectorAll()

QList< KParts::SelectorInterface::Element > KHTMLHtmlExtension::querySelectorAll ( const QString & query,
QueryMethod method ) const
virtual

Implements KParts::SelectorInterface.

Definition at line 1167 of file khtml_ext.cpp.

◆ setHtmlSettingsProperty()

bool KHTMLHtmlExtension::setHtmlSettingsProperty ( HtmlSettingsType type,
const QVariant & value )
virtual

Implements KParts::HtmlSettingsInterface.

Definition at line 1235 of file khtml_ext.cpp.

◆ supportedQueryMethods()

KParts::SelectorInterface::QueryMethods KHTMLHtmlExtension::supportedQueryMethods ( ) const
virtual

Reimplemented from KParts::SelectorInterface.

Definition at line 1115 of file khtml_ext.cpp.


The documentation for this class was generated from the following files:
  • khtml_ext.h
  • khtml_ext.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal