From f27ce8d30ff3aac11485426fe9bee83981551623 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周三, 13 12月 2023 13:53:43 +0800 Subject: [PATCH] minor tweaks --- src/core/contexts/qtwindowcontext_p.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/contexts/qtwindowcontext_p.h b/src/core/contexts/qtwindowcontext_p.h index 242dcd2..8b70610 100644 --- a/src/core/contexts/qtwindowcontext_p.h +++ b/src/core/contexts/qtwindowcontext_p.h @@ -5,17 +5,17 @@ namespace QWK { - class QWK_CORE_EXPORT QtWindowContext : public AbstractWindowContext { + class QtWindowContext : public AbstractWindowContext { Q_OBJECT public: QtWindowContext(); ~QtWindowContext(); - public: - bool setup(QObject *host, WindowItemDelegate *delegate) 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