remove todo
[projets/fookb-qt.git] / xcbEventFilter.h
1 #ifndef XCB_EVENT_FILTER_H
2 #define XCB_EVENT_FILTER_H
3
4 #include <QObject>
5 #include <QAbstractNativeEventFilter>
6
7 class XcbEventFilter : public QAbstractNativeEventFilter
8 {
9 public:
10     XcbEventFilter(QObject *favicon);
11     ~XcbEventFilter() override;
12     bool nativeEventFilter(const QByteArray &eventType, void *message, long *) override;
13 private:
14     QObject *m_favicon;
15 };
16
17 #endif // XCB_EVENT_FILTER_H