MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / KeyboardFilter

Class KeyboardFilter

src/interface/event/EventFilter.h:5–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <QEvent>
4#include <QObject>
5class KeyboardFilter :
6 public QObject
7{
8 Q_OBJECT
9
10public:
11 bool eventFilter(QObject *object,
12 QEvent *event)
13 {
14 Q_UNUSED(object)
15 return event->type() == QEvent::KeyPress;
16 }
17
18};
19

Callers

nothing calls this directly

Calls 1

typeMethod · 0.80

Tested by

no test coverage detected