KParts::OpenUrlEvent
KParts::OpenUrlEvent Class Reference
#include <KParts/OpenUrlEvent>
Inheritance diagram for KParts::OpenUrlEvent:
Public Member Functions | |
OpenUrlEvent (ReadOnlyPart *part, const QUrl &url, const OpenUrlArguments &args=OpenUrlArguments()) | |
OpenUrlArguments | arguments () const |
ReadOnlyPart * | part () const |
QUrl | url () const |
Public Member Functions inherited from QEvent | |
QEvent (Type type) | |
void | accept () |
virtual QEvent * | clone () const const |
void | ignore () |
bool | isAccepted () const const |
bool | isInputEvent () const const |
bool | isPointerEvent () const const |
bool | isSinglePointEvent () const const |
virtual void | setAccepted (bool accepted) |
bool | spontaneous () const const |
Type | type () const const |
Static Public Member Functions | |
static bool | test (const QEvent *event) |
Static Public Member Functions inherited from QEvent | |
int | registerEventType (int hint) |
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 32 of file openurlevent.h.
Constructor & Destructor Documentation
◆ OpenUrlEvent()
OpenUrlEvent::OpenUrlEvent | ( | ReadOnlyPart * | part, |
const QUrl & | url, | ||
const OpenUrlArguments & | args = OpenUrlArguments() ) |
Definition at line 30 of file openurlevent.cpp.
Member Function Documentation
◆ arguments()
OpenUrlArguments OpenUrlEvent::arguments | ( | ) | const |
Definition at line 48 of file openurlevent.cpp.
◆ part()
ReadOnlyPart * OpenUrlEvent::part | ( | ) | const |
Definition at line 38 of file openurlevent.cpp.
◆ test()
|
static |
Definition at line 53 of file openurlevent.cpp.
◆ url()
QUrl OpenUrlEvent::url | ( | ) | const |
Definition at line 43 of file openurlevent.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.