• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kparts

KParts::BrowserHostExtension

KParts::BrowserHostExtension Class Reference

#include <browserextension.h>

Inheritance diagram for KParts::BrowserHostExtension:

QObject

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 724 of file browserextension.h.


Public Member Functions

 BrowserHostExtension (KParts::ReadOnlyPart *parent, const char *name=0L)
virtual QStringList frameNames () const
virtual const QPtrList
< KParts::ReadOnlyPart > 
frames () const
BrowserHostExtension * findFrameParent (KParts::ReadOnlyPart *callingPart, const QString &frame)
virtual bool openURLInFrame (const KURL &url, const KParts::URLArgs &urlArgs)

Static Public Member Functions

static BrowserHostExtension * childObject (QObject *obj)

Protected Types

enum  { VIRTUAL_FIND_FRAME_PARENT = 0x10 }

Protected Member Functions

virtual void virtual_hook (int id, void *data)

Member Enumeration Documentation

anonymous enum [protected]

This 'enum' along with the structure below is NOT part of the public API.

It's going to disappear in KDE 4.0 and is likely to change inbetween.

Definition at line 772 of file browserextension.h.


Member Function Documentation

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 652 of file browserextension.cpp.

const QPtrList< 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 657 of file browserextension.cpp.

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

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

Since:
3.3

Definition at line 687 of file browserextension.cpp.

bool BrowserHostExtension::openURLInFrame ( const KURL &  url,
const KParts::URLArgs &  urlArgs 
) [virtual]

Opens the given url in a hosted child frame.

The frame name is specified in the frameName variable in the urlArgs argument structure (see KParts::URLArgs ) .

Definition at line 662 of file browserextension.cpp.

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

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

Convenience method.

Definition at line 667 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

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
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