From e18723d66cf470720c29a9d2848150ea1cbe5450 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: ćšć, 14 12æ 2023 04:49:35 +0800 Subject: [PATCH] Add example resources --- src/core/contexts/qtwindowcontext_p.h | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core/contexts/qtwindowcontext_p.h b/src/core/contexts/qtwindowcontext_p.h index 9a78813..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(QObject *host, WindowItemDelegate *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