File indexing completed on 2024-10-13 06:36:22

0001 /*
0002     SPDX-FileCopyrightText: 2018 Kai Uwe Broulik <kde@privat.broulik.de>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 
0007 #ifndef KURLNAVIGATORPATHSELECTOREVENTFILTER_P_H
0008 #define KURLNAVIGATORPATHSELECTOREVENTFILTER_P_H
0009 
0010 #include <QObject>
0011 
0012 namespace KDEPrivate
0013 {
0014 class KUrlNavigatorPathSelectorEventFilter : public QObject
0015 {
0016     Q_OBJECT
0017 
0018 public:
0019     explicit KUrlNavigatorPathSelectorEventFilter(QObject *parent);
0020     ~KUrlNavigatorPathSelectorEventFilter() override;
0021 
0022 Q_SIGNALS:
0023     void tabRequested(const QUrl &url);
0024 
0025 protected:
0026     bool eventFilter(QObject *watched, QEvent *event) override;
0027 };
0028 
0029 } // namespace KDEPrivate
0030 
0031 #endif