From e20d8ebf6eb5a5a9fafc2eaf3b04d934e5089766 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周三, 13 12月 2023 05:39:23 +0800 Subject: [PATCH] minor tweaks --- src/core/contexts/qtwindowcontext_p.h | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/core/contexts/qtwindowcontext_p.h b/src/core/contexts/qtwindowcontext_p.h index da3d640..8b70610 100644 --- a/src/core/contexts/qtwindowcontext_p.h +++ b/src/core/contexts/qtwindowcontext_p.h @@ -5,19 +5,17 @@ namespace QWK { - class QWK_CORE_EXPORT QtWindowContext : public AbstractWindowContext { + class QtWindowContext : public AbstractWindowContext { Q_OBJECT - Q_DISABLE_COPY(QtWindowContext) - public: - QtWindowContext(QWindow *window, WindowItemDelegatePtr delegate); + QtWindowContext(); ~QtWindowContext(); - public: - bool setup() override; + QString key() const override; + void virtual_hook(int id, void *data) override; protected: - bool eventFilter(QObject *obj, QEvent *event) override; + bool setupHost() override; }; } -- Gitblit v1.9.1