Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
HookUnixNativeEventFilter.h
1#ifndef CHOOKUNIXNATIVEEVENTFILTER_H
2#define CHOOKUNIXNATIVEEVENTFILTER_H
3
4#include <QAbstractNativeEventFilter>
5
6class CHookUnixNativeEventFilter : public QAbstractNativeEventFilter
7{
8public:
10
11 // QAbstractNativeEventFilter interface
12public:
13#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
14 virtual bool nativeEventFilter(const QByteArray &eventType, void *message, qintptr *result) override;
15#else
16 virtual bool nativeEventFilter(const QByteArray &eventType, void *message, long *result) override;
17#endif
18
19};
20
21#endif // CHOOKUNIXNATIVEEVENTFILTER_H