KWidgetsAddons

lineediturldropeventfilter.h
1 /*
2  SPDX-FileCopyrightText: 2013 Albert Vaca <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6 
7 #ifndef LINEEDITURLDROPEVENTFILTER_H
8 #define LINEEDITURLDROPEVENTFILTER_H
9 
10 #include <kwidgetsaddons_export.h>
11 
12 #include <QObject>
13 
21 class KWIDGETSADDONS_EXPORT LineEditUrlDropEventFilter
22  : public QObject
23 {
24  Q_OBJECT
25 
26 public:
27  explicit LineEditUrlDropEventFilter(QObject *parent = nullptr);
28  ~LineEditUrlDropEventFilter() override;
29  bool eventFilter(QObject *obj, QEvent *ev) override;
30 };
31 
32 #endif
virtual bool eventFilter(QObject *watched, QEvent *event)
This class provides an event filter that can be installed on a QLineEdit or a subclass of it (KLineEd...
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Sep 23 2020 22:44:31 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.