Pages
API Documentation
On this page

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

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.

Member Function Documentation

OpenUrlEvent::OpenUrlEvent(KParts::ReadOnlyPart *part, const QUrl &url, const KParts::OpenUrlArguments &args = OpenUrlArguments())

KParts::OpenUrlArguments OpenUrlEvent::arguments() const

KParts::ReadOnlyPart *OpenUrlEvent::part() const

[static] bool OpenUrlEvent::test(const QEvent *event)

QUrl OpenUrlEvent::url() const

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.