KParts::OpenUrlEvent Class
class KParts::OpenUrlEventThe KParts::OpenUrlEvent event informs that a given part has opened a given URL. More...
Header: | #include <KParts/OpenUrlEvent> |
CMake: | find_package(KF6 REQUIRED COMPONENTS Parts) target_link_libraries(mytarget PRIVATE KF6::Parts) |
Inherits: | QEvent |
Public Functions
OpenUrlEvent(KParts::ReadOnlyPart *part, const QUrl &url, const KParts::OpenUrlArguments &args = OpenUrlArguments()) | |
KParts::OpenUrlArguments | arguments() const |
KParts::ReadOnlyPart * | part() const |
QUrl | url() const |
Static Public Members
bool | test(const QEvent *event) |
Detailed Description
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.