You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
405 B
17 lines
405 B
#ifndef XCB_EVENT_FILTER_H |
|
#define XCB_EVENT_FILTER_H |
|
|
|
#include <QObject> |
|
#include <QAbstractNativeEventFilter> |
|
|
|
class XcbEventFilter : public QAbstractNativeEventFilter |
|
{ |
|
public: |
|
XcbEventFilter(QObject *favicon); |
|
~XcbEventFilter() override; |
|
bool nativeEventFilter(const QByteArray &eventType, void *message, long *) override; |
|
private: |
|
QObject *m_favicon; |
|
}; |
|
|
|
#endif // XCB_EVENT_FILTER_H
|
|
|