diff options
Diffstat (limited to 'old/tests/qtuitest/tst_qinputgenerator/nativeevent_noop.cpp')
-rw-r--r-- | old/tests/qtuitest/tst_qinputgenerator/nativeevent_noop.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/old/tests/qtuitest/tst_qinputgenerator/nativeevent_noop.cpp b/old/tests/qtuitest/tst_qinputgenerator/nativeevent_noop.cpp new file mode 100644 index 0000000..411f2d4 --- /dev/null +++ b/old/tests/qtuitest/tst_qinputgenerator/nativeevent_noop.cpp @@ -0,0 +1,17 @@ +#include "nativeevent.h" + +NativeEvent::NativeEvent(void*) +{} + +bool NativeEvent::isInteresting(void*) +{ + static bool warned = false; + if (!warned) { + warned = true; + qWarning("Don't understand native events, only logging Qt events."); + } + + return false; +} + + |