You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
405 B
C

#ifndef XCB_EVENT_FILTER_H
#define XCB_EVENT_FILTER_H
3 years ago
#include <QObject>
#include <QAbstractNativeEventFilter>
class XcbEventFilter : public QAbstractNativeEventFilter
{
public:
3 years ago
XcbEventFilter(QObject *favicon);
~XcbEventFilter() override;
bool nativeEventFilter(const QByteArray &eventType, void *message, long *) override;
3 years ago
private:
QObject *m_favicon;
};
#endif // XCB_EVENT_FILTER_H