KParts
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:
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.
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: