Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qabstractnativeeventfilter.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QABSTRACTNATIVEEVENTFILTER_H
5#define QABSTRACTNATIVEEVENTFILTER_H
6
7#include <QtCore/qnamespace.h>
8
10
11class QAbstractNativeEventFilterPrivate;
12
13class Q_CORE_EXPORT QAbstractNativeEventFilter
14{
15public:
18
19 virtual bool nativeEventFilter(const QByteArray &eventType, void *message, qintptr *result) = 0;
20
21private:
22 Q_DISABLE_COPY(QAbstractNativeEventFilter)
23 QAbstractNativeEventFilterPrivate *d;
24};
25
27
28#endif /* QABSTRACTNATIVEEVENTFILTER_H */
virtual bool nativeEventFilter(const QByteArray &eventType, void *message, qintptr *result)=0
This method is called for every native event.
\inmodule QtCore
Definition qbytearray.h:57
Combined button and popup list for selecting options.
GLuint GLsizei const GLchar * message
GLuint64EXT * result
[6]
ptrdiff_t qintptr
Definition qtypes.h:166