File indexing completed on 2024-05-12 09:01:04

0001 /*
0002     SPDX-FileCopyrightText: 2009 David Faure <faure@kde.org>
0003     SPDX-FileCopyrightText: 2016 Anthony Fieroni <bvbfan@abv.bg>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0006 */
0007 
0008 #ifndef KONQMOUSEEVENTFILTER_H
0009 #define KONQMOUSEEVENTFILTER_H
0010 
0011 #include <QObject>
0012 
0013 class KonqMouseEventFilter : public QObject
0014 {
0015     Q_OBJECT
0016 
0017 public:
0018     static KonqMouseEventFilter *self();
0019 
0020     void reparseConfiguration();
0021 
0022 protected:
0023     bool eventFilter(QObject *obj, QEvent *e) override;
0024 
0025 private:
0026     explicit KonqMouseEventFilter();
0027     friend class KonqMouseEventFilterSingleton;
0028 
0029     bool m_bBackRightClick;
0030 };
0031 
0032 #endif /* KONQMOUSEEVENTFILTER_H */
0033