Search for usage in LXR

#include <KParts/OpenUrlEvent>

Inheritance diagram for KParts::OpenUrlEvent:

Public Member Functions

 OpenUrlEvent (ReadOnlyPart *part, const QUrl &url, const OpenUrlArguments &args=OpenUrlArguments())
OpenUrlArguments arguments () const
ReadOnlyPartpart () const
QUrl url () const
- Public Member Functions inherited from QEvent
 QEvent (Type type)
void accept ()
virtual QEventclone () 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)

Additional Inherited Members

- Public Types inherited from QEvent
enum  Type
- Properties inherited from QEvent
- Public Attributes inherited from QEvent

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()

bool OpenUrlEvent::test ( const QEvent * event)

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 Tue Mar 26 2024 11:15:54 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.