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

KParts

KParts::OpenURLEvent

KParts::OpenURLEvent Class Reference

The KParts::OpenURLEvent event informs that a given part has opened a given URL. More...

#include <browserextension.h>

Inheritance diagram for KParts::OpenURLEvent:

Inheritance graph
[legend]

List of all members.


Public Member Functions

URLArgs args () const
 OpenURLEvent (ReadOnlyPart *part, const KURL &url, const URLArgs &args=URLArgs())
ReadOnlyPart * part () const
KURL url () const
virtual ~OpenURLEvent ()

Static Public Member Functions

static bool test (const QEvent *event)

Detailed Description

The KParts::OpenURLEvent event informs that a given part has opened a given URL.

Applications can use this event to send this information to interested plugins.

The event should be sent before opening the URL in the part, so that the plugins can use part()->url() to get the old URL.

Definition at line 221 of file browserextension.h.


Constructor & Destructor Documentation

OpenURLEvent::OpenURLEvent ( ReadOnlyPart *  part,
const KURL &  url,
const URLArgs &  args = URLArgs() 
)

Definition at line 53 of file browserextension.cpp.

OpenURLEvent::~OpenURLEvent (  )  [virtual]

Definition at line 59 of file browserextension.cpp.


Member Function Documentation

URLArgs KParts::OpenURLEvent::args (  )  const [inline]

Definition at line 229 of file browserextension.h.

ReadOnlyPart* KParts::OpenURLEvent::part (  )  const [inline]

Definition at line 227 of file browserextension.h.

static bool KParts::OpenURLEvent::test ( const QEvent *  event  )  [inline, static]

Reimplemented from KParts::Event.

Definition at line 231 of file browserextension.h.

KURL KParts::OpenURLEvent::url (  )  const [inline]

Definition at line 228 of file browserextension.h.


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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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