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

KParts

KParts::BrowserHostExtension

KParts::BrowserHostExtension Class Reference

#include <browserextension.h>

Inheritance diagram for KParts::BrowserHostExtension:

Inheritance graph
[legend]

List of all members.


Detailed Description

An extension class for container parts, i.e.

parts that contain other parts. For instance a KHTMLPart hosts one part per frame.

Definition at line 703 of file browserextension.h.


Public Member Functions

 BrowserHostExtension (KParts::ReadOnlyPart *parent)
virtual BrowserHostExtension * findFrameParent (KParts::ReadOnlyPart *callingPart, const QString &frame)
virtual QStringList frameNames () const
virtual const QList
< KParts::ReadOnlyPart * > 
frames () const
virtual bool openUrlInFrame (const KUrl &url, const KParts::OpenUrlArguments &arguments, const KParts::BrowserArguments &browserArguments)
virtual ~BrowserHostExtension ()

Static Public Member Functions

static BrowserHostExtension * childObject (QObject *obj)

Constructor & Destructor Documentation

BrowserHostExtension::BrowserHostExtension ( KParts::ReadOnlyPart *  parent  ) 

Definition at line 758 of file browserextension.cpp.

BrowserHostExtension::~BrowserHostExtension (  )  [virtual]

Definition at line 764 of file browserextension.cpp.


Member Function Documentation

BrowserHostExtension * BrowserHostExtension::childObject ( QObject *  obj  )  [static]

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

Convenience method.

Definition at line 786 of file browserextension.cpp.

BrowserHostExtension * BrowserHostExtension::findFrameParent ( KParts::ReadOnlyPart *  callingPart,
const QString &  frame 
) [virtual]

Returns the part that contains frame and that may be accessed by callingPart.

Definition at line 803 of file browserextension.cpp.

QStringList BrowserHostExtension::frameNames (  )  const [virtual]

Returns a list of the names of all hosted child objects.

Note that this method does not query the child objects recursively.

Definition at line 769 of file browserextension.cpp.

const QList< KParts::ReadOnlyPart * > BrowserHostExtension::frames (  )  const [virtual]

Returns a list of pointers to all hosted child objects.

Note that this method does not query the child objects recursively.

Definition at line 774 of file browserextension.cpp.

bool BrowserHostExtension::openUrlInFrame ( const KUrl &  url,
const KParts::OpenUrlArguments &  arguments,
const KParts::BrowserArguments &  browserArguments 
) [virtual]

Opens the given url in a hosted child frame.

The frame name is specified in the frameName variable in the browserArguments parameter (see KParts::BrowserArguments ) .

Definition at line 779 of file browserextension.cpp.


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

KParts

Skip menu "KParts"
  • Main Page
  • 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
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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