From fd8aca4a20f52f696aa239ead1baa20cea5879f6 Mon Sep 17 00:00:00 2001
From: SineStriker <55847490+SineStriker@users.noreply.github.com>
Date: 周一, 11 12月 2023 14:58:25 +0800
Subject: [PATCH] Merge pull request #2 from stdware/refactor

---
 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 6daccb8..6c264d2 100644
--- a/src/core/contexts/qtwindowcontext_p.h
+++ b/src/core/contexts/qtwindowcontext_p.h
@@ -8,14 +8,14 @@
     class QWK_CORE_EXPORT QtWindowContext : public AbstractWindowContext {
         Q_OBJECT
     public:
-        QtWindowContext(QWindow *window, 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