QML keyboard indicator for my personnal needs
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.

18 lines
405 B

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