KParts
#include <browserextension.h>
Public Member Functions | |
OpenUrlEvent (ReadOnlyPart *part, const KUrl &url, const OpenUrlArguments &args=OpenUrlArguments(), const BrowserArguments &browserArgs=BrowserArguments()) | |
virtual | ~OpenUrlEvent () |
OpenUrlArguments | arguments () const |
BrowserArguments | browserArguments () const |
ReadOnlyPart * | part () const |
KUrl | url () const |
Public Member Functions inherited from KParts::Event | |
Event (const char *eventName) | |
virtual | ~Event () |
virtual const char * | eventName () const |
Public Member Functions inherited from QEvent | |
QEvent (Type type) | |
virtual | ~QEvent () |
void | accept () |
void | ignore () |
bool | isAccepted () const |
void | setAccepted (bool accepted) |
bool | spontaneous () const |
Type | type () const |
Static Public Member Functions | |
static bool | test (const QEvent *event) |
Static Public Member Functions inherited from KParts::Event | |
static bool | test (const QEvent *event) |
static bool | test (const QEvent *event, const char *name) |
Static Public Member Functions inherited from QEvent | |
int | registerEventType (int hint) |
Additional Inherited Members | |
Properties inherited from QEvent | |
accepted | |
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 249 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 66 of file browserextension.cpp.
|
virtual |
Definition at line 74 of file browserextension.cpp.
Member Function Documentation
OpenUrlArguments OpenUrlEvent::arguments | ( | ) | const |
Definition at line 89 of file browserextension.cpp.
BrowserArguments OpenUrlEvent::browserArguments | ( | ) | const |
Definition at line 94 of file browserextension.cpp.
ReadOnlyPart * OpenUrlEvent::part | ( | ) | const |
Definition at line 79 of file browserextension.cpp.
Definition at line 99 of file browserextension.cpp.
KUrl OpenUrlEvent::url | ( | ) | const |
Definition at line 84 of file browserextension.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.