| | |
| | | |
| | | #include <QtCore/QEvent> |
| | | #include <QtCore/QLoggingCategory> |
| | | #include <QtCore/QAbstractNativeEventFilter> |
| | | #include <QtGui/QtEvents> |
| | | |
| | | #include <QWKCore/qwkcoreglobal.h> |
| | | |
| | |
| | | # define QWK_FATAL qCFatal(qWindowKitLog) |
| | | #endif |
| | | |
| | | // MOC can't handle C++ attributes before 5.15. |
| | | #if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)) |
| | | # define Q_NODISCARD [[nodiscard]] |
| | | # define Q_MAYBE_UNUSED [[maybe_unused]] |
| | | #else |
| | | # define Q_NODISCARD |
| | | # define Q_MAYBE_UNUSED |
| | | #endif |
| | | |
| | | namespace QWK { |
| | | |
| | | QWK_CORE_EXPORT void installNativeEventFilter(QAbstractNativeEventFilter *eventFilter); |
| | | |
| | | QWK_CORE_EXPORT void removeNativeEventFilter(QAbstractNativeEventFilter *eventFilter); |
| | | |
| | | } |
| | | |
| | | #endif // QWKCOREGLOBAL_P_H |