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

KParts

  • KParts
  • HtmlExtension
Public Member Functions | Static Public Member Functions

KParts::HtmlExtension Class Reference

an extension for KParts to provide HTML-related features More...

#include <htmlextension.h>

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

List of all members.

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 29 of file htmlextension.cpp.

KParts::HtmlExtension::~HtmlExtension ( )

Definition at line 34 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 43 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 38 of file htmlextension.cpp.


The documentation for this class was generated from the following files:
  • htmlextension.h
  • htmlextension.cpp

KParts

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • 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
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal