MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / ScrollFilter

Class ScrollFilter

src/interface/event/ScrollFilter.h:7–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <QObject>
6
7class ScrollFilter :
8 public QObject
9{
10 Q_OBJECT
11
12public:
13 bool eventFilter(QObject *object,
14 QEvent *event) override
15 {
16 return event->type() == QEvent::Scroll || event->type() == QEvent::Wheel;
17 }
18
19};
20
21#endif // SCROLLFILTER_H

Callers

nothing calls this directly

Calls 1

typeMethod · 0.80

Tested by

no test coverage detected