#ifndef BUTTONHOVERWATCHER_H #define BUTTONHOVERWATCHER_H #include #include #include class ButtonHoverWatcher : public QObject { Q_OBJECT public: explicit ButtonHoverWatcher(QObject *parent = nullptr); virtual bool eventFilter(QObject * watched, QEvent * event) Q_DECL_OVERRIDE; }; #endif // BUTTONHOVERWATCHER_H