10#include <QtCore/QEvent>
11#include <QtGui/QtEvents>
13#ifndef QWK_CORE_EXPORT
14# ifdef QWK_CORE_STATIC
15# define QWK_CORE_EXPORT
17# ifdef QWK_CORE_LIBRARY
18# define QWK_CORE_EXPORT Q_DECL_EXPORT
20# define QWK_CORE_EXPORT Q_DECL_IMPORT
25#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
26using QT_NATIVE_EVENT_RESULT_TYPE = qintptr;
27using QT_ENTER_EVENT_TYPE = QEnterEvent;
29using QT_NATIVE_EVENT_RESULT_TYPE = long;
30using QT_ENTER_EVENT_TYPE = QEvent;
33#ifndef QWINDOWKIT_CONFIG
34# define QWINDOWKIT_CONFIG(feature) ((1 / QWINDOWKIT_##feature) == 1)
37#if defined(__GNUC__) || defined(__clang__)
38# define QWINDOWKIT_PRINTF_FORMAT(fmtpos, attrpos) \
39 __attribute__((__format__(__printf__, fmtpos, attrpos)))
41# define QWINDOWKIT_PRINTF_FORMAT(fmtpos, attrpos)
46 using ScreenRectCallback = std::function<QRect(
const QSize &)>;
QWindowKit namespace.
Definition abstractwindowcontext.cpp:13