Pages
API Documentation
On this page

KLineEditUrlDropEventFilter Class

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. This class was introduced in Qt 6.0. More...

  • Header: #include <KLineEditUrlDropEventFilter>
  • Since: Qt 6.0
  • CMake: find_package(KF6 REQUIRED COMPONENTS WidgetsAddons)
    target_link_libraries(mytarget PRIVATE KF6::WidgetsAddons)
  • Inherits: QObject

List of all members, including inherited members

Public Functions

Detailed Description

Porting from KF5 to KF6:

The class LineEditUrlDropEventFilter was renamed to KLineEditUrlDropEventFilter.

Member Function Documentation

[explicit] KLineEditUrlDropEventFilter::KLineEditUrlDropEventFilter(QObject *parent = nullptr)

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