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

KParts

  • KParts
  • HtmlExtension
Public Member Functions | Static Public Member Functions | List of all members
KParts::HtmlExtension Class Referenceabstract

#include <htmlextension.h>

Inheritance diagram for KParts::HtmlExtension:
Inheritance graph
[legend]

Public Member Functions

 HtmlExtension (KParts::ReadOnlyPart *parent)
 
 ~HtmlExtension ()
 
virtual KUrl baseUrl () const =0
 
virtual bool hasSelection () const
 

Static Public Member Functions

static HtmlExtension * childObject (QObject *obj)
 

Detailed Description

an extension for KParts to provide HTML-related features

Use qobject_cast to cast the extension to interesting interfaces, like qobject_cast<KParts::SelectorInterface>.

Since
4.6

Definition at line 45 of file htmlextension.h.

Constructor & Destructor Documentation

KParts::HtmlExtension::HtmlExtension ( KParts::ReadOnlyPart *  parent)

Definition at line 30 of file htmlextension.cpp.

KParts::HtmlExtension::~HtmlExtension ( )

Definition at line 35 of file htmlextension.cpp.

Member Function Documentation

virtual KUrl KParts::HtmlExtension::baseUrl ( ) const
pure virtual

Returns the current base url of the part that implements this extension.

This function is mostly used to resolve any relative URLs that might be returned when querying the part for links.

HtmlExtension * KParts::HtmlExtension::childObject ( QObject *  obj)
static

Queries obj for a child object which inherits from this HtmlExtension class.

Definition at line 44 of file htmlextension.cpp.

bool HtmlExtension::hasSelection ( ) const
virtual

Returns true if portions of the content in the part that implements this extension are selected.

By default this function returns false.

Definition at line 39 of file htmlextension.cpp.


The documentation for this class was generated from the following files:
  • htmlextension.h
  • htmlextension.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KParts

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

kdelibs API Reference

Skip menu "kdelibs 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
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



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