KParts
#include <htmlextension.h>
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
|
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.
|
static |
Queries obj
for a child object which inherits from this HtmlExtension class.
Definition at line 44 of file htmlextension.cpp.
|
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:
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.