1 | /* |
2 | SPDX-FileCopyrightText: 2018 Kai Uwe Broulik <kde@privat.broulik.de> |
3 | |
4 | SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
5 | */ |
6 | |
7 | #ifndef KURLNAVIGATORPATHSELECTOREVENTFILTER_P_H |
8 | #define KURLNAVIGATORPATHSELECTOREVENTFILTER_P_H |
9 | |
10 | #include <QObject> |
11 | |
12 | namespace KDEPrivate |
13 | { |
14 | class KUrlNavigatorPathSelectorEventFilter : public QObject |
15 | { |
16 | Q_OBJECT |
17 | |
18 | public: |
19 | explicit KUrlNavigatorPathSelectorEventFilter(QObject *parent); |
20 | ~KUrlNavigatorPathSelectorEventFilter() override; |
21 | |
22 | Q_SIGNALS: |
23 | void tabRequested(const QUrl &url); |
24 | |
25 | protected: |
26 | bool eventFilter(QObject *watched, QEvent *event) override; |
27 | }; |
28 | |
29 | } // namespace KDEPrivate |
30 | |
31 | #endif |
32 | |