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 QTESTSPONTANEEVENT_H |
5 | #define QTESTSPONTANEEVENT_H |
6 | |
7 | #include <QtCore/qcoreevent.h> |
8 | |
9 | #if 0 |
10 | // inform syncqt |
11 | #pragma qt_no_master_include |
12 | #endif |
13 | |
14 | QT_BEGIN_NAMESPACE |
15 | |
16 | class QSpontaneKeyEvent |
17 | { |
18 | public: |
19 | static inline void setSpontaneous(QEvent *ev) |
20 | { |
21 | ev->setSpontaneous(); |
22 | } |
23 | }; |
24 | |
25 | QT_END_NAMESPACE |
26 | |
27 | #endif |
28 | |