KParts::OpenUrlEvent Class

Header: #include <OpenUrlEvent>
CMake: find_package(KF6 REQUIRED COMPONENTS Parts)
target_link_libraries(mytarget PRIVATE KF6::Parts)

Detailed Description

@class OpenUrlEvent openurlevent.h <KParts/OpenUrlEvent>

@short 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.