From 83710cb96187d635be1be95ac1a2652c28d695cd Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周二, 12 12月 2023 00:24:14 +0800 Subject: [PATCH] Add example icon --- src/widgets/widgetwindowagent_p.h | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/widgets/widgetwindowagent_p.h b/src/widgets/widgetwindowagent_p.h index eb1d96d..cd1e5c1 100644 --- a/src/widgets/widgetwindowagent_p.h +++ b/src/widgets/widgetwindowagent_p.h @@ -1,15 +1,15 @@ #ifndef WIDGETWINDOWAGENTPRIVATE_H #define WIDGETWINDOWAGENTPRIVATE_H -#include <QWKCore/private/corewindowagent_p.h> +#include <QWKCore/private/windowagentbase_p.h> #include <QWKWidgets/widgetwindowagent.h> namespace QWK { - class WidgetWindowAgentPrivate : public CoreWindowAgentPrivate { - Q_DISABLE_COPY(WidgetWindowAgentPrivate) - Q_DECLARE_PUBLIC(WidgetWindowAgent) + class WidgetBorderHandler; + class WidgetWindowAgentPrivate : public WindowAgentBasePrivate { + Q_DECLARE_PUBLIC(WidgetWindowAgent) public: WidgetWindowAgentPrivate(); ~WidgetWindowAgentPrivate(); @@ -17,7 +17,9 @@ void init(); // Host - QWidget *host{}; + QWidget *hostWidget{}; + + std::unique_ptr<WidgetBorderHandler> borderHandler; }; } -- Gitblit v1.9.1