FunctionalEventFilter.cpp
Go to the documentation of this file.
2
3#include <qobject.h>
4
5namespace simox::gui
6{
7
11
12 bool
13 FunctionalEventFilter::eventFilter(QObject* obj, QEvent* event)
14 {
15 return function(obj, event);
16 }
17
18} // namespace simox::gui
std::function< bool(QObject *obj, QEvent *event)> Function
bool eventFilter(QObject *obj, QEvent *event) override