From 8a0b7831e988a347603e6abb4e8294010ab9b0e0 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周三, 27 12月 2023 06:26:26 +0800 Subject: [PATCH] Set project version --- src/quick/quickwindowagent_p.h | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/quick/quickwindowagent_p.h b/src/quick/quickwindowagent_p.h index daafb07..e63fbfe 100644 --- a/src/quick/quickwindowagent_p.h +++ b/src/quick/quickwindowagent_p.h @@ -1,15 +1,23 @@ #ifndef QUICKWINDOWAGENTPRIVATE_H #define QUICKWINDOWAGENTPRIVATE_H -#include <QWKCore/private/corewindowagent_p.h> +// +// W A R N I N G !!! +// ----------------- +// +// This file is not part of the QWindowKit API. It is used purely as an +// implementation detail. This header file may change from version to +// version without notice, or may even be removed. +// + +#include <QWKCore/qwkconfig.h> +#include <QWKCore/private/windowagentbase_p.h> #include <QWKQuick/quickwindowagent.h> namespace QWK { - class QuickWindowAgentPrivate : public CoreWindowAgentPrivate { - Q_DISABLE_COPY(QuickWindowAgentPrivate) + class QuickWindowAgentPrivate : public WindowAgentBasePrivate { Q_DECLARE_PUBLIC(QuickWindowAgent) - public: QuickWindowAgentPrivate(); ~QuickWindowAgentPrivate() override; @@ -17,7 +25,11 @@ void init(); // Host - QQuickWindow *host{}; + QQuickWindow *hostWindow{}; + +#if defined(Q_OS_WINDOWS) && QWINDOWKIT_CONFIG(ENABLE_WINDOWS_SYSTEM_BORDERS) + void setupWindows10BorderWorkaround(); +#endif }; } -- Gitblit v1.9.1