KLineEditUrlDropEventFilter
KLineEditUrlDropEventFilter Class Reference
#include <KLineEditUrlDropEventFilter>
Inheritance diagram for KLineEditUrlDropEventFilter:
Protected Member Functions | |
bool | eventFilter (QObject *object, QEvent *event) override |
Protected Member Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const const |
int | receivers (const char *signal) const const |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Detailed Description
This class provides an event filter that can be installed on a QLineEdit or a subclass of it (KLineEdit) to make it handle URL drop events so when a URL is dropped it replaces the existing content.
Porting from KF5 to KF6:
The class LineEditUrlDropEventFilter was renamed to KLineEditUrlDropEventFilter.
@Since 6.0
Definition at line 27 of file klineediturldropeventfilter.h.
Constructor & Destructor Documentation
◆ KLineEditUrlDropEventFilter()
Definition at line 15 of file klineediturldropeventfilter.cpp.
Member Function Documentation
◆ eventFilter()
|
overrideprotectedvirtual |
Reimplemented from QObject.
Definition at line 22 of file klineediturldropeventfilter.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 Sat Apr 27 2024 22:08:27 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Apr 27 2024 22:08:27 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.