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 | |
OpenUrlArguments | arguments () const |
BrowserArguments | browserArguments () const |
OpenUrlEvent (ReadOnlyPart *part, const KUrl &url, const OpenUrlArguments &args=OpenUrlArguments(), const BrowserArguments &browserArgs=BrowserArguments()) | |
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 234 of file browserextension.h.
Constructor & Destructor Documentation
OpenUrlEvent::OpenUrlEvent | ( | ReadOnlyPart * | part, | |
const KUrl & | url, | |||
const OpenUrlArguments & | args = OpenUrlArguments() , |
|||
const BrowserArguments & | browserArgs = BrowserArguments() | |||
) |
Definition at line 67 of file browserextension.cpp.
OpenUrlEvent::~OpenUrlEvent | ( | ) | [virtual] |
Definition at line 75 of file browserextension.cpp.
Member Function Documentation
OpenUrlArguments OpenUrlEvent::arguments | ( | ) | const |
Definition at line 90 of file browserextension.cpp.
BrowserArguments OpenUrlEvent::browserArguments | ( | ) | const |
Definition at line 95 of file browserextension.cpp.
ReadOnlyPart * OpenUrlEvent::part | ( | ) | const |
Definition at line 80 of file browserextension.cpp.
bool OpenUrlEvent::test | ( | const QEvent * | event | ) | [static] |
KUrl OpenUrlEvent::url | ( | ) | const |
Definition at line 85 of file browserextension.cpp.
The documentation for this class was generated from the following files: