• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KParts

  • KParts
  • OpenUrlEvent
Public Member Functions | Static Public Member Functions | List of all members
KParts::OpenUrlEvent Class Reference

#include <browserextension.h>

Inheritance diagram for KParts::OpenUrlEvent:
Inheritance graph
[legend]

Public Member Functions

 OpenUrlEvent (ReadOnlyPart *part, const KUrl &url, const OpenUrlArguments &args=OpenUrlArguments(), const BrowserArguments &browserArgs=BrowserArguments())
 
virtual ~OpenUrlEvent ()
 
OpenUrlArguments arguments () const
 
BrowserArguments browserArguments () const
 
ReadOnlyPart * part () const
 
KUrl url () const
 
- Public Member Functions inherited from KParts::Event
 Event (const char *eventName)
 
virtual ~Event ()
 
virtual const char * eventName () const
 
- Public Member Functions inherited from QEvent
 QEvent (Type type)
 
virtual  ~QEvent ()
 
void accept ()
 
void ignore ()
 
bool isAccepted () const
 
void setAccepted (bool accepted)
 
bool spontaneous () const
 
Type type () const
 

Static Public Member Functions

static bool test (const QEvent *event)
 
- Static Public Member Functions inherited from KParts::Event
static bool test (const QEvent *event)
 
static bool test (const QEvent *event, const char *name)
 
- Static Public Member Functions inherited from QEvent
int registerEventType (int hint)
 

Additional Inherited Members

- Properties inherited from QEvent
 accepted
 

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 249 of file browserextension.h.

Constructor & Destructor Documentation

OpenUrlEvent::OpenUrlEvent ( ReadOnlyPart *  part,
const KUrl &  url,
const OpenUrlArguments &  args = OpenUrlArguments(),
const BrowserArguments &  browserArgs = BrowserArguments() 
)

Definition at line 66 of file browserextension.cpp.

OpenUrlEvent::~OpenUrlEvent ( )
virtual

Definition at line 74 of file browserextension.cpp.

Member Function Documentation

OpenUrlArguments OpenUrlEvent::arguments ( ) const

Definition at line 89 of file browserextension.cpp.

BrowserArguments OpenUrlEvent::browserArguments ( ) const

Definition at line 94 of file browserextension.cpp.

ReadOnlyPart * OpenUrlEvent::part ( ) const

Definition at line 79 of file browserextension.cpp.

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

Definition at line 99 of file browserextension.cpp.

KUrl OpenUrlEvent::url ( ) const

Definition at line 84 of file browserextension.cpp.


The documentation for this class was generated from the following files:
  • browserextension.h
  • browserextension.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KParts

Skip menu "KParts"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal