KParts::OpenUrlEvent Class
The 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
List of all members, including inherited members
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
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.